Unanswered question

How to resolve WAN Emulation "Not installed" issue when it is not supported by LG "localhost:7100:?

I am trying to integrate selenium automation script (JAR file) with Neoload project scenario. While I was running the scenario , I see a warning message like "Advanced WAN Emulation (latency, packet loss) not supported by Load Generator "localhost:7100" " and also I see a default zone as localhost:7100 under "Load Generator Zones" which is having a "crossed mobile" icon on it. Because of this, I am getting an "Illegal Argument Exception" . Here below is the error console: Can someone advise me on this to make my scenario running fine. Thanks in Advance . Bob

2019/09/27 15:33:16 INFO - neoload.LG_INFO: Starting LoadGenerator Version 6.9.0 ;build=20190307-5
2019/09/27 15:33:16 INFO - neoload.LG_INFO: OS Version: amd64 - Windows 10 - 10.0
2019/09/27 15:33:16 INFO - neoload.LG_INFO: JVM Version: Oracle Corporation - 1.8.0_112 - Java HotSpot(TM) 64-Bit Server VM - Xmx= 3782737920 bytes
2019/09/27 15:33:16 INFO - neoload.LG_INFO: Sockets Tuning information: MaxUserPort registry key not found;TcpTimedWaitDelay registry key not found;
2019/09/27 15:33:16 INFO - neoload.LG_INFO: ALPN boot status: present
2019/09/27 15:33:16 INFO - neoload.LG: Registered to Agent. Port 55526
2019/09/27 15:33:16 INFO - neoload.LG: Launching inbound connection listener on port:51138
2019/09/27 15:33:16 INFO - neoload.LG: Connection established with the Controller localhost:7100:51138
2019/09/27 15:33:17 INFO - neoload.LG_INFO: WAN Emulation: disabled
2019/09/27 15:33:17 INFO - neoload.LG: Connection established with the Controller localhost:7100:51138
2019/09/27 15:33:17 INFO - neoload.LG_INFO: Jetty ThreadPool configuration: MinThread=20; MaxThread=20000; IdleTimeoutMs=10000; QueueSize=6000
2019/09/27 15:33:17 ERROR - neoload.LG: PAC script error com.neotys.proxy.c: PAC script compilation failed
at com.neotys.proxy.js.rhino.ProxyAPI.compile(ProxyAPI.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.neotys.nl.proxy.a.compile(a.java:46)
at com.neotys.proxy.js.b.a(b.java:112)
at com.neotys.proxy.js.b.a(b.java:534)
at com.neotys.nl.lg.m.a(m.java:938)
at com.neotys.nl.lg.m.handleRequest(m.java:268)
at com.neotys.nl.common.net.AbstractConnection.handleRequest(AbstractConnection.java:86)
at com.neotys.nl.common.net.BidirectionalConnection$RequestHandlerThread.run(BidirectionalConnection.java:233)
Caused by: java.lang.IllegalArgumentException: protocol = http host = null
at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:176)
at sun.net.http://www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1132)
at sun.net.http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at sun.net.http://www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
at sun.net.http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.URL.openStream(URL.java:1045)
at com.neotys.proxy.js.rhino.ProxyAPI.compile(ProxyAPI.java:152)
... 11 more

2019/09/27 15:33:19 DEBUG - neoload.CustomAction: Java Test Script action execute:cmd /c jre\bin\java -jar C:\Users\yesuvara.kollipara\neo_selenium_integration-0.0.1-SNAPSHOT.jar
2019/09/27 15:33:19 DEBUG - neoload.CustomAction: Java Test Script action execution finished with status code:0

Prasad K.
Prasad K.

Prasad K.

Level
1
168 / 750
points

Answers

Prasad K.
Prasad K.

Prasad K.

Level
1
168 / 750
points

@Neil

So then, how can I set my users as protocol users? Usually, in the "runtime", I'm defining my scenarios, users and duration policy etc. I haven't seen protocol user option over there. Please guide me.

Thanks