Guest User

Untitled

a guest
Apr 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. java -jar ../../selenium-server-standalone-3.6.0.jar -role hub -hubConfig ./hubconfig.json
  2.  
  3. C:projectsmfa-functionalSelenium Batch Files>java -jar
  4. C:/Selenium/SeleniumGrid/selenium-server-standalone-3.6.0.jar -role hub -
  5. hubConfig C:/Selenium/SeleniumGrid/BatchFiles/Hub/hubconfig.json
  6. 13:40:15.686 INFO - Selenium build info: version: '3.6.0', revision:
  7. '6fbf3ec767'
  8. 13:40:15.687 INFO - Launching Selenium Grid hub
  9. 2018-04-25 13:40:16.708:INFO::main: Logging initialized @1540ms to
  10. org.seleniumhq.jetty9.util.log.StdErrLog
  11. 13:40:16.725 INFO - Will listen on 4444
  12. 2018-04-25 13:40:16.781:INFO:osjs.Server:main: jetty-9.4.5.v20170502
  13. 2018-04-25 13:40:16.816:INFO:osjs.session:main: DefaultSessionIdManager
  14. workerName=node0
  15. 2018-04-25 13:40:16.816:INFO:osjs.session:main: No SessionScavenger set,
  16. using defaults
  17. 2018-04-25 13:40:16.818:INFO:osjs.session:main: Scavenging every 600000ms
  18. 2018-04-25 13:40:16.825:INFO:osjsh.ContextHandler:main: Started
  19. o.s.j.s.ServletContextHandler@2d2e5f00{/,null,AVAILABLE}
  20. 2018-04-25 13:40:16.852:INFO:osjs.AbstractConnector:main: Started
  21. ServerConnector@5b0abc94{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
  22. 2018-04-25 13:40:16.852:INFO:osjs.Server:main: Started @1686ms
  23. 13:40:16.853 INFO - Nodes should register to
  24. http://127.0.0.1:4444/grid/register/
  25. 13:40:16.853 INFO - Selenium Grid hub is up and running
  26.  
  27. {
  28. "host": "127.0.0.1",
  29. "maxSessions": 35,
  30. "port": 4444,
  31. "cleanupCycle": 5000,
  32. "timeout": 300000,
  33. "newSessionWaitTimeout": -1,
  34. "servlets": [],
  35. "prioritizer": null,
  36. "capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
  37. "throwOnCapabilityNotPresent": true,
  38. "nodePolling": 180000,
  39. "platform": "WINDOWS"
  40. }
  41.  
  42. appium -a 127.0.0.1 --nodeconfig MKs_tablet.json
  43.  
  44. {
  45. "capabilities":
  46. [
  47. {
  48. "appiumVersion" : "1.8.0",
  49. "browserName": "andriod",
  50. "version":"4.4.2",
  51. "maxInstances": 1,
  52. "platform":"Android",
  53. "deviceName" : "KJOVSCGISWSC8HOV"
  54. }
  55. ],
  56. "configuration" :
  57. {
  58. "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
  59. "maxSession": 2,
  60. "url":"http://http://127.0.0.1:4723/wd/hub",
  61. "host" : "http://127.0.0.1",
  62. "port": 4723,
  63. "register": true,
  64. "registerCycle": 5000,
  65. "hubPort": 4444,
  66. "hubHost": "http://127.0.0.1",
  67. "nodeStatusCheckTimeout": 5000
  68. }
  69. }
  70.  
  71. C:SeleniumSeleniumGridExternalDeviceConfigAppium Device Configs>appium -
  72. a 127.0.0.1 --nodeconfig MKs_tablet.json
  73. [Appium] Welcome to Appium v1.8.0
  74. [Appium] Non-default server args:
  75. [Appium] address: 127.0.0.1
  76. [Appium] nodeconfig: MKs_tablet.json
  77. [debug] [Appium] Starting auto register thread for grid. Will try to
  78. register every 5000 ms.
  79. [Appium] Appium REST http interface listener started on 127.0.0.1:4723
  80. [Appium] Request to register with grid was unsuccessful: Error: getaddrinfo
  81. ENOTFOUND http http:80
  82. [debug] [Appium] Hub down or not responding: Error: getaddrinfo ENOTFOUND
  83. http http:80
  84. [Appium] Request to register with grid was unsuccessful: Error: getaddrinfo
  85. ENOTFOUND http http:80
  86. [debug] [Appium] Hub down or not responding: Error: getaddrinfo ENOTFOUND
  87. http http:80
  88. [Appium] Request to register with grid was unsuccessful: Error: getaddrinfo
  89. ENOTFOUND http http:80
  90. [debug] [Appium] Hub down or not responding: Error: getaddrinfo ENOTFOUND
  91. http http:80
  92. [Appium] Request to register with grid was unsuccessful: Error: getaddrinfo
  93. ENOTFOUND http http:80
  94. [debug] [Appium] Hub down or not responding: Error: getaddrinfo ENOTFOUND
  95. http http:80
Add Comment
Please, Sign In to add comment