Skip to content

Instantly share code, notes, and snippets.

const newman = require('newman'); // require newman in your project
const fs = require('fs');
let logs = [];
// call newman.run to pass `options` object and wait for callback
newman.run({
collection: require('./mock2.postman_collection.json'),
reporters: ['cli','json' , 'htmlextra'],
environment: 'WebGUI_URL.postman_environment.json',
reporter: {
htmlextra: {
This file has been truncated, but you can view the full file.
--------- beginning of system
08-16 12:26:08.723 32721 1460 D PowerUI : can't show warning due to - plugged: true status unknown: false
08-16 12:27:05.392 32538 32593 I chatty : uid=1000(system) PowerManagerSer expire 1 line
08-16 12:27:06.220 32538 32557 I chatty : uid=1000(system) Binder:32538_1 expire 1 line
08-16 12:27:06.248 32538 32641 I chatty : uid=1000(system) Binder:32538_3 expire 2 lines
08-16 12:27:06.939 32538 6756 I chatty : uid=1000(system) Binder:32538_1E expire 5 lines
08-16 12:27:07.106 32721 1460 D PowerUI : can't show warning due to - plugged: true status unknown: false
08-16 12:27:07.447 32538 1827 I chatty : uid=1000(system) Binder:32538_D expire 1 line
08-16 12:27:07.455 32538 32586 I chatty : uid=1000(system) ActivityManager expire 10 lines
08-16 12:27:07.549 32538 1837 I chatty : uid=1000(system) Binder:32538_F expire 6 lines
Microsoft Windows [Version 10.0.18363.1679]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>appium -a 127.0.0.1 -p 4723 --chromedriver-executable C:\Users\janp\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
[Appium] Welcome to Appium v1.22.0-beta.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] chromedriverExecutable: C:\Users\janp\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
PTs-MacBook-Pro-S1:appium-webdriveragent digitalhome$ appium -a 127.0.0.1 -p 4723
[Appium] Welcome to Appium v1.20.2
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[debug] [HTTP] Request idempotency key: d86576ea-9073-48d2-abb0-202fb9d546fc
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"14.4.1","appium:deviceName":"'iPhone'","appium:autoWebview":"true","appium:newCommandTimeout":"1200","appium:udid":"udid","appium:xcodeOrgId”:”xxxxxxxx”,”appium:xcodeSigningId":"iPhone Developer","appium:fullReset":"true","appium:bundleId":"com.nokia.wifi","appium:automationName":"XCUITest","appium:app":"/Users/digitalhome/Documents/Images/APPImages/110.ipa"}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"14.4.1","deviceName":"'iPhone'","autoWebview":"true","newCommandTimeout":"1200","udid":"udid","xcodeOrgId”:”xxxxx”,”xcodeSigningId":"iPhone Developer"
PTs-MacBook-Pro-S1:~ digitalhome$ appium -a 127.0.0.1 -p 4723
[Appium] Welcome to Appium v1.14.0-beta.2
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxx","udid":"00008020-001D302E2E78003A","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.xx.xxx"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxx","udid":"00008020-001D302E2E78003A","webkitResponseTimeout":"180000
The server is running
[Appium] Welcome to Appium v1.13.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDABundleId":"com.xyz.abc","noReset":"false","autoWebview":"true","xcodeConfigFile":"/Users/digitalhome/Desktop/.xcconfig","webkitResponseTimeout":"180000","newCommandTimeout":"1200","platformVersion":"12.1.4","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","automationName":"XCUITest","updatedWDA
PTs-MacBook-Pro-N2:WebDriverAgent-master digitalhome$ appium -a 127.0.0.1 -p 4723
[Appium] Welcome to Appium v1.13.0
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxxxx","udid":"c7b2d2268ef08a51d3a732bd82fc6e5bb9668e35","webkitResponseTimeout":"180000","automationName":"XCUITest","noReset":"false","autoWebview":"true","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"12.2","fullReset":"false","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.xxx.xxxx"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","wdaStartupRetryInterval":"20000","xcodeOrgId":"xxxxxxxxxx","udid":"c7b2d2268ef08a51d3a732bd
@aryalakshmi
aryalakshmi / cleartextfails.txt
Created January 21, 2019 10:55
Clear text is not working with appium
[HTTP] {"using":"css selector","value":"ion-input[type=text] > input.text-input.text-input-ios"}
[debug] [W3C (0c73a961)] Calling AppiumDriver.findElements() with args: ["css selector","ion-input[type=text] > input.text-input.text-input-ios","0c73a961-309d-4686-a33c-f37a8d2cdebd"]
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [RemoteDebugger] Executing 'find_elements' atom in default context
[debug] [RemoteDebugger] Garbage collecting with 5000ms timeout
[debug] [RemoteDebugger] Unable to collect garbage at this time
[debug] [RemoteDebugger] Sending javascript command (function(){return function(){var k=this;functi...
[debug] [RemoteDebugger] Sending WebKit data: {"method":"Runtime.evaluate","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":tr
@aryalakshmi
aryalakshmi / appiumlogs_JOIN CLICKvery late.txt
Created January 21, 2019 10:10
AppiumLogs for JOIN click happening after 60seconds.
[debug] [W3C (ba1075e7)] Calling AppiumDriver.getContexts() with args: ["ba1075e7-22cb-4995-b3c9-1bbc42f0ffae"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
[debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
[debug] [RemoteDebugger] Page element JSON: [{"devtoolsFrontendUrl":"","faviconUrl":"","thumbnailUrl":"/thumb/http://localhost:8080/var/containers/Bundle/Application/CE188D03-5A92-4B4E-A76E-ADE38666AE3E/Nokia%20WiFi.app/www/index.html","title":"Nokia WiFi","url":"http://localhost:8080/var/containers/Bundle/Application/CE188D03-5A92-4B4E-A76E-ADE38666AE3E/Nokia%20WiFi.app/www/index.html","webSocketDebuggerUrl":"ws://localhost:27753/devtools/page/286","appId":"PID:28840"}]
[debug] [W3C (ba1075e7)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEB
@aryalakshmi
aryalakshmi / appiumlogs.txt
Last active June 7, 2018 05:47
appiumlogs
[info] [Appium] Welcome to Appium v1.8.0
[info] [Appium] Non-default server args:
[info] [Appium] address: 127.0.0.1
[info] [Appium] Appium REST http interface listener started on 127.0.0.1:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"deviceName":"'iPhone'","xcodeOrgId":"xxxxxxxxxx","udid":"xxxxxxxxxxxxxxxxxxc1e30f","webkitResponseTimeout":"180000","automationName":"Appium","autoWebview":"true","noReset":"true","useNewWDA":"true","clearSystemFiles":"True","xcodeSigningId":"iPhone Developer","newCommandTimeout":"1200","platformVersion":"11.1.2","wdaStartupRetryInterval":"1000","shouldUseSingletonTestManager":"false","platformName":"iOS","waitForQuiescence":"false","bundleId":"com.nokia.wifi"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"'iPhone'","xcodeOrgId":"xxxxxxxxxx","udid":"xxxxxxxxxxxxxxxxxxc1e30f","webkitResponseTimeout":"180000","automationName":"Appium","autoWebview":"true","noReset":"true","useNewWDA":"true","clearSystemFil