Unanswered question

Neo Load With Selenium : Derive the use path from selenium script

Hello,
I am trying to derive the neo load user path from selenium script by integrating it with Neo Load.
I made the selenium jar and added it as 'java_test_script'.
I passed argument as -Dnl.selenium.proxy.mode=Design

I see in the documentation that we need to pass another argument as -Dnl.design.api.url=http://localhost:7400/Design/v1/Service.svc/
Not very sure what is this and why it required ..

when i run it from neo load i get the exception as
Caused by: java.lang.RuntimeException: Issue contacting DesignAPI server.
and
Caused by: java.io.FileNotFoundException: http://localhost:7400/Design/v1/Service.svc//$metadata

I also tried running outside neoload by opening command prompt... and tried runnign the jar file using java -jar command .. but it also gives the same errors
Please let me know what wrong I am doing or what else argument need to be passed

Thanks,

Musaffir L.
Musaffir L.

Musaffir L.

Level
1
215 / 750
points

Answers

Alexis N.
Alexis N.

Alexis N.

Level
1
305 / 750
points
Team

You should run the jar outside NeoLoad but with a NeoLoad launched.
What is your NeoLoad version?
In a browser with a NeoLoad launched, if you go to http://localhost:7400/Design/v1/Service.svc//$metadata, do you have a response?

Musaffir L.
Musaffir L.

Musaffir L.

Level
1
215 / 750
points

Hi Alexis,
I beileve I have tried this running outside the neo load window and opening cmd and hitting on the selenium jar seeing your reply on another related question found in the community, I wasn't successful but ...

My Neo Load version is - 5.2.4 running with a free licence now .. if I can successfuly integrate selenium with neoload to measure the page rendering time...I see this is as a promising tecnique and planning to buy a licence...

Yes I tried hitting on - http://localhost:7400/Design/v1/Service.svc//$metadata with my browser , but it wasn't giving me a response...

Thanks,

Alexis N.
Alexis N.

Alexis N.

Level
1
305 / 750
points
Team

If you want to have page rendering response time, you should run the selenium jar with EndUserExperience mode with Dnl.selenium.proxy.mode=EndUserExperience parameter. A test must be running in NeoLoad, so you can use the java_test_script Advanced action to launch your jar.