Answered question

Are selenium scripts using TestNG compatible with for Neoload Integration

I have created an executable jar file for a main class java program that calls a TestNg Selenium script. I am able to launch the tests from Neoload using the action > javascript in user path but the run time does not record the requests and responses. I can see in the documentation mentioning about compatibility with Junit scripts but could not find anything related to TestNg. Please let me know if there is a reason why the request/responses are not recorded and also any additional details required that might help understand the issue better.

Rahul N.
Rahul N.

Rahul N.

Level
0
23 / 100
points
Alexis N.
Alexis N.

Alexis N.

Level
2
805 / 2000
points
Team

Requests/s and Response time does not take into account Selenium scripts. Here the list of the Selenium metrics: https://www.neotys.com/documents/doc/neoload/latest/en/ht....

You can plot the Selenium metrics in Results>Graphs>External Data.

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful

Other answers

Alexis N.
Alexis N.

Alexis N.

Level
2
805 / 2000
points
Team

Yes Selenium scripts using TestNG shoul be compatible with NeoLoad.
Did you add the NeoLoad wrapping to your Selenium scripts?
You will find more information here: https://www.neotys.com/documents/doc/neoload/latest/en/ht...

Then the Selenium metrics will be in the external data of the NeoLoad results:
https://www.neotys.com/documents/doc/neoload/latest/en/html/#1484.htm#o7602

Rahul N.
Rahul N.

Rahul N.

Level
0
23 / 100
points

I am able to see the external data but no request and response graph. Can you please take a look?