Unanswered question

Neoload Test Design Using Selenium + Test Design API

I am trying to build a REST webservice which helps me record a Neoload script using the Neoload wrapper for selenium. When I run the completed code compiled into a runnable jar, I am getting the results as expected. i.e. open NeoloadGUI.exe, close any Open Proojects, start recording and carry out selenium steps adding transactions wherever required and finally stop the recording. However, when I run the jar file from the webservice using the command Runtime.getRuntime().exec("java -jar C:\\<jarfilename>.jar; the execution flow doesn't start the recording and no selenium steps are carried out.

I am not sure if this is the correct forum for this question. I just wanted to check if there is something in the Neoload wrapper that prevents the functions being called from a webservice.

Shubhendu M.
Shubhendu M.

Shubhendu M.

Level
0
14 / 100
points

Answers

Alexis N.
Alexis N.

Alexis N.

Level
2
1255 / 2000
points
Team

There is nothing preventing the functions being called from a webservice. Maybe the wrapper has trouble communicating with NeoLoadGUI, did you try to set the environment property nl.design.api.url with the URL of the design API client of the NeoLoad GUI.

For example java -jar C:\\<jarfilename>.jar -Dnl.design.api.url=http://[your_host]:7400/Design/v1/Service.svc/