TestProject Forum

Trigger a test in a JOB from another test using REST API

hi,

Trying to execute a test which has a step to trigger a job
The steps before the job trigger are working fine.
However on the POST request to trigger the job its giving the execution ID…but i dont see the tests are executed…
sharing the logs for your reference
i have updated the agent to 3.3.

image

Body of the POST request.
{
“agentId”: “CrXD15ZkYUSfkqQEG2Fbxw”,
“browsers”: [
“Chrome”,
“Edge”,
“Safari”
],
“queue”: true,
“restartDriver”: false,
“testRetries”: 2,
“projectParameters”:"",
“testParameters”: ,
“tags”: [
],
“capabilities”:""
}

2021-10-08 12:23:55.935 INFO  EventThread     i.t.a.b.c.a                              Signal authorized
2021-10-08 12:23:56.438 INFO  pool-3-thread-6 i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/agent - 200 (yHl9g15B): No Message
2021-10-08 12:23:56.438 INFO  idle-entry      i.t.a.b.a.d                              POST https://api.testproject.io/api/v1/agent/certificate - 200 (Ph4WSqtT): No Message
2021-10-08 12:23:56.503 INFO  idle-entry      i.t.a.w.b                                Added SSL connector
2021-10-08 12:23:56.538 INFO  idle-entry      i.t.a.s.IdentityManager                  Requesting remote identity...
2021-10-08 12:23:56.576 INFO  pool-3-thread-6 i.t.a.s.IdentityManager                  Agent identity has been saved
2021-10-08 12:23:56.578 INFO  pool-3-thread-6 i.t.a.m.w.b                              Configuring concurrent workers amount: 2
2021-10-08 12:23:56.764 INFO  idle-entry      i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/agent - 200 (2xAFsm5I): No Message
2021-10-08 12:23:56.789 INFO  idle-entry      i.t.a.s.IdentityManager                  Agent identity has been saved
2021-10-08 12:23:56.814 INFO  idle-entry      i.t.a.f.c.a.d                            Account plan: Free
2021-10-08 12:23:56.815 INFO  idle-entry      i.t.a.h                                  Refreshing & reporting capabilities...
2021-10-08 12:23:57.790 INFO  EventThread     i.t.a.b.c.a                              Server requested the Agent to execute {"executionId":13538376,"agentId":977606,"executionGuid":"-cyHrLbnuEe_js1M2kRNRQ"}
2021-10-08 12:23:57.792 INFO  EventThread     i.t.a.b.b.c                              Downloading execution package -cyHrLbnuEe_js1M2kRNRQ
2021-10-08 12:23:58.013 INFO  EventThread     i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/executions/-cyHrLbnuEe_js1M2kRNRQ - 200 (gLbFKW1Z): No Message
2021-10-08 12:23:58.014 INFO  EventThread     i.t.a.b.b.c                              Downloaded execution package -cyHrLbnuEe_js1M2kRNRQ
2021-10-08 12:23:58.024 INFO  EventThread     i.t.a.m.w.b                              Initializing Agent for execution [-cyHrLbnuEe_js1M2kRNRQ]
2021-10-08 12:23:59.684 INFO  qtp626824630-10 i.t.a.w.b.c                              EventsSocket 3ce36e65-6925-4f34-a7e5-0e56919f5f86 #1 connected
2021-10-08 12:23:59.720 INFO  EventThread     i.t.a.b.c.a                              User 103474 has connected
2021-10-08 12:23:59.803 INFO  idle-entry      i.t.a.m.A                                Reported Agent state and got response - [Agent Version: 3.3.0]
2021-10-08 12:24:02.720 WARN  idle-entry      i.t.a.m.c.a                              Failed to inspect .NET Core version: (Cannot run program "dotnet": CreateProcess error=2, The system cannot find the file specified)
2021-10-08 12:24:02.720 INFO  idle-entry      i.t.a.m.c.a                              Requesting ADB version from C:\Users\mkarthik\AppData\Local\Android\sdk\platform-tools\adb.exe
2021-10-08 12:24:02.899 INFO  idle-entry      i.t.a.m.c.a                              Detected Java [13.0.1]
2021-10-08 12:24:02.900 INFO  idle-entry      i.t.a.m.c.a                              Detected ADB [1.0.40]
2021-10-08 12:24:02.911 INFO  idle-entry      i.t.a.m.c.a                              Detected Chrome driver [94.0.4606.71] x64
2021-10-08 12:24:02.912 INFO  idle-entry      i.t.a.m.c.a                              Detected Edge driver [91.0.864.54] x64
2021-10-08 12:24:02.912 INFO  idle-entry      i.t.a.m.c.a                              Detected Edge driver [94.0.992.38] x64
2021-10-08 12:24:02.912 INFO  idle-entry      i.t.a.m.c.a                              Detected InternetExplorer driver [11.914.17763.0] x64
2021-10-08 12:24:03.139 INFO  jersey-client-a i.t.a.b.a.d                              POST https://api.testproject.io/api/v1/agent/capabilities - 200 (iADSkkEp): Capabilities were received
2021-10-08 12:24:03.140 INFO  idle-entry      i.t.a.b.b.c                              Retrieving list of provisioned iOS devices...
2021-10-08 12:24:03.361 INFO  idle-entry      i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/devices/provisioned - 200 (XZynoaDf): No Message
2021-10-08 12:24:03.363 INFO  start-appium    i.t.a.b.b.c                              Reporting state: Idle
2021-10-08 12:24:04.680 INFO  idle-entry      i.t.a.m.A                                Reported Agent state and got response - [Agent Version: 3.3.0]
2021-10-08 12:24:04.686 INFO  idle-entry      i.t.a.m.d.p                              Report uploading manager started.
2021-10-08 12:24:53.347 INFO  EventThread     i.t.a.b.c.a                              User 103474 has disconnected
2021-10-08 12:26:51.726 INFO  qtp626824630-61 i.t.a.w.b.c                              EventsSocket 3ce36e65-6925-4f34-a7e5-0e56919f5f86 #1 disconnected: [1001] null
2021-10-08 12:27:13.814 INFO  EventThread     i.t.a.b.c.a                              User 103474 has connected
2021-10-08 12:27:14.813 INFO  qtp626824630-12 i.t.a.w.b.c                              EventsSocket eb219cea-9565-4538-a6fe-287c2beebeb9 #1 connected
2021-10-08 12:28:09.080 INFO  launcher-socket i.t.a.m.C                                Disconnected from Launcher
2021-10-08 12:31:18.750 INFO  main            i.t.a.Program                            *** AGENT MANAGER - START ***
2021-10-08 12:31:24.397 INFO  init-entry      i.t.a.h                                  TestProject Agent 3.3.0 (308db76a1) on Windows 10
2021-10-08 12:31:25.268 INFO  init-entry      i.t.a.h                                  Running under user mkarthik (mkarthik) of type Administrator with Guest privileges
2021-10-08 12:31:25.269 INFO  init-entry      i.t.a.h                                  Using WINDOWS-ROOT certificates store
2021-10-08 12:31:25.285 INFO  init-entry      i.t.a.m.C                                Starting launcher socket on port 64793
2021-10-08 12:31:26.083 INFO  init-entry      i.t.a.h                                  Working folder: C:\Program Files\TestProject Agent\app
2021-10-08 12:31:26.083 INFO  init-entry      i.t.a.h                                  Data folder: C:\Users\mkarthik\AppData\Roaming\TestProject\Agent
2021-10-08 12:31:27.399 INFO  init-entry      i.t.a.h                                  Agent IP addresses: 192.168.0.104, 192.168.0.113, 172.30.112.1
2021-10-08 12:31:28.815 INFO  init-entry      i.t.a.m.c.f                              Checking if extensions installation blacklist is configured...
2021-10-08 12:31:28.995 WARN  init-entry      i.t.a.f.q                                Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2021-10-08 12:31:29.356 WARN  init-entry      i.t.a.f.q                                Registry query failed - ERROR: The system was unable to find the specified registry key or value.
2021-10-08 12:31:29.378 INFO  init-entry      i.t.a.m.c.f                              There is no evidence that all extensions are blacklisted
2021-10-08 12:31:32.936 INFO  pool-7-thread-1 i.t.a.i.l                                iOS Wrapper 3.0.0 starting on port 57532...
2021-10-08 12:31:32.939 INFO  pool-7-thread-1 i.t.a.i.l                                Building server for port 57532
2021-10-08 12:31:37.052 INFO  pool-7-thread-1 i.t.a.i.l                                Starting server...
2021-10-08 12:31:40.388 INFO  init-entry      i.t.a.a.a.c.a                            Using a user managed ADB that operates on port 5037
2021-10-08 12:31:40.438 INFO  init-entry      i.t.a.a.a.c.a                            Creating new ADB bridge...
2021-10-08 12:31:40.726 INFO  pool-7-thread-1 i.t.a.i.l                                Server started, listening on 57532
2021-10-08 12:31:40.744 INFO  pool-7-thread-1 i.t.a.i.l                                Starting services...
2021-10-08 12:31:40.929 INFO  init-entry      i.t.a.a.a.c.a                            Successfully connected to ADB Bridge running on port 5037.
2021-10-08 12:31:41.042 INFO  pool-7-thread-1 i.t.a.i.l                                iOS SDK Wrapper - Ready!
2021-10-08 12:31:41.089 INFO  init-entry      i.t.a.i.l                                Waiting a bit for IOS Wrapper to come up...
2021-10-08 12:31:42.802 INFO  pool-7-thread-1 i.t.a.i.l                                Services Status: [c=DONE]
2021-10-08 12:31:42.853 INFO  pool-7-thread-1 i.t.a.i.l                                Canceling isReadyTask returned true
2021-10-08 12:31:42.914 INFO  pool-7-thread-1 i.t.a.i.l                                Starting heartbeat service...
2021-10-08 12:31:42.919 INFO  pool-7-thread-1 i.t.a.i.l                                Received request to start monitoring
2021-10-08 12:31:43.233 WARN  init-entry      i.t.a.m.c.a                              Failed to inspect .NET Core version: (Cannot run program "dotnet": CreateProcess error=2, The system cannot find the file specified)
2021-10-08 12:31:43.234 INFO  init-entry      i.t.a.m.c.a                              Requesting ADB version from C:\Users\mkarthik\AppData\Local\Android\sdk\platform-tools\adb.exe
2021-10-08 12:31:43.528 INFO  init-entry      i.t.a.m.c.a                              Detected Java [13.0.1]
2021-10-08 12:31:43.530 INFO  init-entry      i.t.a.m.c.a                              Detected ADB [1.0.40]
2021-10-08 12:31:43.534 INFO  init-entry      i.t.a.m.c.f                              Searching for installed browsers...
2021-10-08 12:31:43.535 INFO  init-entry      i.t.a.m.c.f                              Checking installed browsers by default paths...
2021-10-08 12:31:43.549 INFO  init-entry      i.t.a.m.c.f                              Detected Edge browser [94.0.992.38]
2021-10-08 12:31:43.553 INFO  init-entry      i.t.a.m.c.f                              Detected Chrome browser [94.0.4606.71]
2021-10-08 12:31:43.557 INFO  init-entry      i.t.a.m.c.f                              Detected Firefox browser [90.0.2.7872]
2021-10-08 12:31:43.563 INFO  init-entry      i.t.a.m.c.f                              Detected InternetExplorer browser [11.0.19041.1202]
2021-10-08 12:31:43.563 INFO  init-entry      i.t.a.m.c.f                              Finished detecting installed browsers.
2021-10-08 12:31:43.585 INFO  init-entry      i.t.a.m.c.a                              Detected Chrome driver [94.0.4606.71] x64
2021-10-08 12:31:43.585 INFO  init-entry      i.t.a.m.c.a                              Detected Edge driver [91.0.864.54] x64
2021-10-08 12:31:43.586 INFO  init-entry      i.t.a.m.c.a                              Detected Edge driver [94.0.992.38] x64
2021-10-08 12:31:43.586 INFO  init-entry      i.t.a.m.c.a                              Detected InternetExplorer driver [11.914.17763.0] x64
2021-10-08 12:31:43.721 INFO  init-entry      i.t.a.m.b                                Starting gRPC Server on port localhost:51983
2021-10-08 12:31:43.810 INFO  init-entry      i.t.a.m.Q                                Runtime information saved
2021-10-08 12:31:43.810 INFO  init-entry      i.t.a.h                                  Agent initialization is complete.
2021-10-08 12:31:43.840 INFO  idle-entry      i.t.a.w.b                                Starting Web Server...
2021-10-08 12:31:43.841 INFO  disconnect-entr i.t.a.m.M                                Checking Agent's connectivity with the outside world...
2021-10-08 12:31:43.841 INFO  idle-entry      i.t.a.w.b                                Starting internal web server...
2021-10-08 12:31:45.410 INFO  disconnect-entr i.t.a.m.M                                Connection established successfully.
2021-10-08 12:31:45.411 INFO  disconnect-entr i.t.a.f.c.a.k                            Direct connection (no proxy) is possible.
2021-10-08 12:31:45.411 INFO  disconnect-entr i.t.a.f.c.a.k                            External connectivity is possible, proceeding to Authentication...
2021-10-08 12:31:45.413 INFO  auth-entry      i.t.a.f.c.a.a                            Trying to load Agent remote identity...
2021-10-08 12:31:45.417 INFO  auth-entry      i.t.a.f.c.a.a                            Agent is registered as [Karthik-agent-3.0] (WHtwQ1Hn4ECkoAofqsW39w), proceeding to authentication...
2021-10-08 12:31:45.421 INFO  auth-entry      i.t.a.f.c.a.a                            Authenticating with TestProject...
2021-10-08 12:31:45.430 INFO  auth-entry      i.t.a.s.c                                Requesting authenticating token...
2021-10-08 12:31:45.717 INFO  auth-entry      i.t.a.s.c                                Authenticated successfully
2021-10-08 12:31:45.857 INFO  state-machine   i.t.a.f.c.a.h                            Starting Signal...
2021-10-08 12:31:47.078 INFO  EventThread     i.t.a.b.c.a                              Signal connected, awaiting authentication result...
2021-10-08 12:31:47.099 INFO  EventThread     i.t.a.b.c.a                              Sent empty Session ID
2021-10-08 12:31:47.532 INFO  idle-entry      i.t.a.w.b                                Web server started on http://localhost:8585
2021-10-08 12:31:47.546 INFO  idle-entry      i.t.a.m.R                                Starting Selenium Server...
2021-10-08 12:31:48.277 INFO  EventThread     i.t.a.b.c.a                              Signal authentication finished
2021-10-08 12:31:48.284 INFO  EventThread     i.t.a.b.c.a                              Connection Session ID: 6RvUm2461c
2021-10-08 12:31:48.288 INFO  EventThread     i.t.a.b.c.a                              Signal authorized
2021-10-08 12:31:48.912 INFO  idle-entry      i.t.a.m.R                                Started Selenium Server on http://127.0.0.1:53740/wd/hub
2021-10-08 12:31:48.927 INFO  start-appium    i.t.a.m.f.k                              Starting Appium server...
2021-10-08 12:31:49.002 INFO  pool-3-thread-7 i.t.a.b.b.c                              Reporting state: Idle
2021-10-08 12:31:49.060 INFO  pool-3-thread-7 i.t.a.s.IdentityManager                  Requesting remote identity...
2021-10-08 12:31:49.686 INFO  idle-entry      i.t.a.b.a.d                              POST https://api.testproject.io/api/v1/agent/certificate - 200 (GhHUPhPN): No Message
2021-10-08 12:31:49.839 INFO  idle-entry      i.t.a.w.b                                Added SSL connector
2021-10-08 12:31:49.889 INFO  pool-3-thread-7 i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/agent - 200 (OzUjJ7ig): No Message
2021-10-08 12:31:49.918 INFO  idle-entry      i.t.a.s.IdentityManager                  Requesting remote identity...
2021-10-08 12:31:50.024 INFO  pool-3-thread-7 i.t.a.s.IdentityManager                  Agent identity has been saved
2021-10-08 12:31:50.050 INFO  pool-3-thread-7 i.t.a.m.w.b                              Configuring concurrent workers amount: 2
2021-10-08 12:31:50.170 INFO  idle-entry      i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/agent - 200 (ERmpAAyo): No Message
2021-10-08 12:31:50.261 INFO  idle-entry      i.t.a.s.IdentityManager                  Agent identity has been saved
2021-10-08 12:31:50.283 INFO  idle-entry      i.t.a.f.c.a.d                            Account plan: Free
2021-10-08 12:31:50.394 INFO  idle-entry      i.t.a.h                                  Refreshing & reporting capabilities...
2021-10-08 12:31:52.133 INFO  EventThread     i.t.a.b.c.a                              Server requested the Agent to execute {"executionId":13538376,"agentId":977606,"executionGuid":"-cyHrLbnuEe_js1M2kRNRQ"}
2021-10-08 12:31:52.135 INFO  EventThread     i.t.a.b.b.c                              Downloading execution package -cyHrLbnuEe_js1M2kRNRQ
2021-10-08 12:31:52.742 INFO  EventThread     i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/executions/-cyHrLbnuEe_js1M2kRNRQ - 200 (tj1H6yAO): No Message
2021-10-08 12:31:52.743 INFO  EventThread     i.t.a.b.b.c                              Downloaded execution package -cyHrLbnuEe_js1M2kRNRQ
2021-10-08 12:31:52.884 INFO  EventThread     i.t.a.m.w.b                              Initializing Agent for execution [-cyHrLbnuEe_js1M2kRNRQ]
2021-10-08 12:31:53.131 INFO  EventThread     i.t.a.b.c.a                              User 103474 has connected
2021-10-08 12:31:53.287 INFO  qtp2019679518-6 i.t.a.w.b.c                              EventsSocket c05215cf-4cba-4e11-b86c-d5ea621b7e01 #1 connected
2021-10-08 12:31:54.154 INFO  idle-entry      i.t.a.m.A                                Reported Agent state and got response - [Agent Version: 3.3.0]
2021-10-08 12:31:58.163 WARN  idle-entry      i.t.a.m.c.a                              Failed to inspect .NET Core version: (Cannot run program "dotnet": CreateProcess error=2, The system cannot find the file specified)
2021-10-08 12:31:58.165 INFO  idle-entry      i.t.a.m.c.a                              Requesting ADB version from C:\Users\mkarthik\AppData\Local\Android\sdk\platform-tools\adb.exe
2021-10-08 12:31:58.334 INFO  idle-entry      i.t.a.m.c.a                              Detected Java [13.0.1]
2021-10-08 12:31:58.336 INFO  idle-entry      i.t.a.m.c.a                              Detected ADB [1.0.40]
2021-10-08 12:31:58.350 INFO  idle-entry      i.t.a.m.c.a                              Detected Chrome driver [94.0.4606.71] x64
2021-10-08 12:31:58.351 INFO  idle-entry      i.t.a.m.c.a                              Detected Edge driver [91.0.864.54] x64
2021-10-08 12:31:58.351 INFO  idle-entry      i.t.a.m.c.a                              Detected Edge driver [94.0.992.38] x64
2021-10-08 12:31:58.352 INFO  idle-entry      i.t.a.m.c.a                              Detected InternetExplorer driver [11.914.17763.0] x64
2021-10-08 12:31:58.949 INFO  jersey-client-a i.t.a.b.a.d                              POST https://api.testproject.io/api/v1/agent/capabilities - 200 (9wRTpoj5): Capabilities were received
2021-10-08 12:31:58.950 INFO  idle-entry      i.t.a.b.b.c                              Retrieving list of provisioned iOS devices...
2021-10-08 12:31:59.140 INFO  idle-entry      i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/devices/provisioned - 200 (pUib50I8): No Message
2021-10-08 12:31:59.142 INFO  start-appium    i.t.a.b.b.c                              Reporting state: Idle
2021-10-08 12:32:00.858 INFO  idle-entry      i.t.a.m.A                                Reported Agent state and got response - [Agent Version: 3.3.0]
2021-10-08 12:32:00.865 INFO  idle-entry      i.t.a.m.d.p                              Report uploading manager started.
2021-10-08 12:32:33.644 INFO  EventThread     i.t.a.b.c.a                              Server requested the Agent to execute {"executionId":13540165,"agentId":977606,"executionGuid":"lZ65KOUVAUST5KB7bo2kjA"}
2021-10-08 12:32:33.646 INFO  EventThread     i.t.a.b.b.c                              Downloading execution package lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:32:33.894 INFO  EventThread     i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/executions/lZ65KOUVAUST5KB7bo2kjA - 200 (h2MW6wty): No Message
2021-10-08 12:32:33.896 INFO  EventThread     i.t.a.b.b.c                              Downloaded execution package lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:32:33.906 INFO  EventThread     i.t.a.m.w.b                              Initializing Agent for execution [lZ65KOUVAUST5KB7bo2kjA]
2021-10-08 12:32:33.940 INFO  EventThread     i.t.a.b.b.c                              Reporting execution state 'Executing' for package lZ65KOUVAUST5KB7bo2kjA 
2021-10-08 12:32:33.976 INFO  EventThread     i.t.a.m.d.j                              Inspecting execution package Addons...
2021-10-08 12:32:34.024 INFO  EventThread     i.t.a.m.a                                Existing addon Ujn6E4VbkEa6QU2XChYMyQ hash matches requested addon hash.
2021-10-08 12:32:34.024 INFO  EventThread     i.t.a.m.d.j                              Inspecting execution package Coded Tests...
2021-10-08 12:32:34.024 INFO  EventThread     i.t.a.m.d.j                              Inspecting execution package Data Sources...
2021-10-08 12:32:34.024 INFO  EventThread     i.t.a.m.d.j                              Inspecting execution package Apps...
2021-10-08 12:32:34.025 INFO  EventThread     i.t.a.m.q                                Updating Chrome driver to match browser version 94.0.4606.71
2021-10-08 12:32:34.026 INFO  EventThread     i.t.a.b.b.c                              Requesting driver for Chrome browser (94.0.4606.71)
2021-10-08 12:32:34.155 INFO  jersey-client-a i.t.a.b.a.d                              PUT https://api.testproject.io/api/v1/executions/lZ65KOUVAUST5KB7bo2kjA/state - 200 (WzpXnOm4): State was updated
2021-10-08 12:32:34.517 INFO  EventThread     i.t.a.b.a.d                              GET https://api.testproject.io/dependencies/browser-drivers/Chrome/94.0.4606.71?os=Windows&fileHash=9e5141400fa79953543f744bac726cc8 - 204 (r0on6ibd): No Message
2021-10-08 12:32:34.517 INFO  EventThread     i.t.a.b.b.c                              Agent already has the latest driver for Chrome browser (94.0.4606.71)
2021-10-08 12:32:34.528 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:32:34.910 INFO  EventThread     i.t.a.m.q                                Active driver for Chrome browser (94.0.4606.71) is already set to the correct version
2021-10-08 12:32:34.912 INFO  EventThread     i.t.a.m.w.b                              Execution request lZ65KOUVAUST5KB7bo2kjA was split into 1 concurrent packages
2021-10-08 12:32:34.929 INFO  EventThread     i.t.a.m.w.b                              Searching for available ports for Agent workers...
2021-10-08 12:32:34.941 INFO  EventThread     i.t.a.m.w.b                              Queued 1 workers to process package lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:32:44.186 INFO  clear-agent-wor i.t.a.b.b.c                              Reporting 1 active workers.
2021-10-08 12:32:44.504 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:32:49.412 INFO  pool-17-thread- i.t.a.m.w.d                              Configuring Agent #1 for lZ65KOUVAUST5KB7bo2kjA execution
2021-10-08 12:32:53.788 INFO  pool-17-thread- i.t.a.m.w.d                              Agent lZ65KOUVAUST5KB7bo2kjA_1 Selenium Server Port: 62865
2021-10-08 12:32:53.788 INFO  pool-17-thread- i.t.a.m.w.d                              Agent lZ65KOUVAUST5KB7bo2kjA_1 Jetty Server Port: 62871
2021-10-08 12:32:53.789 INFO  pool-17-thread- i.t.a.m.w.d                              Instructing Agent #1 for lZ65KOUVAUST5KB7bo2kjA execution
2021-10-08 12:32:55.210 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:33:05.218 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:33:16.232 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:33:27.197 INFO  clear-agent-wor i.t.a.b.a.d                              POST https://api.testproject.io/executions/progress/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/progress - 200 (aaaaaaaa): No Message
2021-10-08 12:33:28.624 INFO  EventThread     i.t.a.b.c.a                              Server requested the Agent to execute {"executionId":13540197,"agentId":977606,"executionGuid":"Hu5ixJ41Jkq0Vj6uo7I15w"}
2021-10-08 12:33:28.625 INFO  EventThread     i.t.a.b.b.c                              Downloading execution package Hu5ixJ41Jkq0Vj6uo7I15w
2021-10-08 12:33:28.892 INFO  EventThread     i.t.a.b.a.d                              GET https://api.testproject.io/api/v1/executions/Hu5ixJ41Jkq0Vj6uo7I15w - 200 (bBouoXM5): No Message
2021-10-08 12:33:28.892 INFO  EventThread     i.t.a.b.b.c                              Downloaded execution package Hu5ixJ41Jkq0Vj6uo7I15w
2021-10-08 12:33:28.911 INFO  EventThread     i.t.a.m.w.b                              Initializing Agent for execution [Hu5ixJ41Jkq0Vj6uo7I15w]
2021-10-08 12:33:30.967 INFO  pool-17-thread- i.t.a.m.w.d                              Agent #1 finished executing lZ65KOUVAUST5KB7bo2kjA with status code: 200
2021-10-08 12:33:30.982 INFO  ForkJoinPool.co i.t.a.b.b.c                              Reporting execution state 'Done' for package lZ65KOUVAUST5KB7bo2kjA 
2021-10-08 12:33:30.983 INFO  ForkJoinPool.co i.t.a.m.w.b                              All 1 Agents Workers finished executing package lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:31.193 INFO  ForkJoinPool.co i.t.a.m.w.b                              Combined 1 reports for execution lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:31.225 INFO  jersey-client-a i.t.a.b.a.d                              PUT https://api.testproject.io/api/v1/executions/lZ65KOUVAUST5KB7bo2kjA/state - 200 (HwdvI7T1): State was updated
2021-10-08 12:33:31.613 INFO  ForkJoinPool.co i.t.a.b.b.c                              Reporting 0 active workers.
2021-10-08 12:33:31.655 INFO  ForkJoinPool.co i.t.a.m.w.b                              Starting reports uploading...
2021-10-08 12:33:31.726 INFO  pool-3-thread-8 i.t.a.m.d.p                              There are 1 execution reports pending to be uploaded
2021-10-08 12:33:31.750 INFO  pool-3-thread-8 i.t.a.m.d.p                              Initiating upload for execution report lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:31.782 INFO  pool-3-thread-8 i.t.a.m.d.p                              Finished reporting task
2021-10-08 12:33:31.843 INFO  pool-3-thread-9 i.t.a.m.d.p                              Submitting report for execution lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:32.336 INFO  pool-3-thread-9 i.t.a.b.a.d                              POST https://api.testproject.io/executions/results/projects/sHcq2mEfuECMKSYLpGlOdw/executions/lZ65KOUVAUST5KB7bo2kjA/report - 200 (JIrbcfkP): No Message
2021-10-08 12:33:32.402 INFO  pool-3-thread-9 i.t.a.m.d.p                              Successfully handled report for execution lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:32.514 INFO  pool-3-thread-9 i.t.a.m.d.p                              Uploading attachments for execution lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:32.520 INFO  pool-3-thread-9 i.t.a.m.d.p                              Successfully handled attachments for execution lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:32.521 INFO  pool-3-thread-9 i.t.a.m.d.p                              Successfully finished execution lZ65KOUVAUST5KB7bo2kjA reporting.
2021-10-08 12:33:32.522 INFO  pool-3-thread-9 i.t.a.m.d.p                              Deleting execution folder lZ65KOUVAUST5KB7bo2kjA
2021-10-08 12:33:34.237 INFO  grpc-default-ex da                                       Client shutting down...
2021-10-08 12:33:34.243 INFO  grpc-default-ex da                                       Client has been shut down.
2021-10-08 12:33:44.256 INFO  qtp2019679518-5 i.t.a.w.b.c                              EventsSocket c05215cf-4cba-4e11-b86c-d5ea621b7e01 #1 disconnected: [1001] null
2021-10-08 12:33:44.429 INFO  EventThread     i.t.a.b.c.a                              User 103474 has disconnected
2021-10-08 12:33:54.651 INFO  EventThread     i.t.a.b.c.a                              User 103474 has connected
2021-10-08 12:33:55.406 INFO  qtp2019679518-5 i.t.a.w.b.c                              EventsSocket 89986b8b-7264-4a26-b29e-9d90b0b7901e #1 connected
2021-10-08 12:34:30.649 INFO  EventThread     i.t.a.b.c.a                              User 103474 has disconnected

Thanks and regards,
Karthik

Any update on this? Is it possible to just execute one test among the many test the job has? I have tried with job api and specifying the testid in the body of the api to trigger the test. This triggers all the tests as part of the job, not just the one we have specified in the body.

@Amit.Lacher @Karen.Teboulle @marat @Mark_K

Hi @mkarthik,
Did you make sure you have available workers?
Are you executing the job on the same agent?
What is the response you get from the API call?

Hi,

Oddly on removing the body parameters it worked. Not sure why it did not when data is passed in body field.

Also, the job when triggered had multiple tests. I tried to mention the test id of one of the test a that only one test runs out of the lot. But it’s not working, it executes all tests which are part of the job.

Hi @mkarthik,
Selecting a Test ID only allows for changing those Test parameters or configurations.
When executing a job all Tests under this job will be executed. there is no option to run Tests selectively from a job.