I have an extracted variable from a response (which is page number in application). I have created a Javascript to use this extracted variable value as its parameter (numeric) and coded it to return a number (previous page number). Now I want to use the return value of Javascript in a new request as one of the parameter. I tried steps in attached screenshot but I failed. Please help me. Thanks in advance.
How to use Javascript return value in URL request as parameter?
CurrentDate variable does not update at runtime
version 6.10.0
NeoLoad CurrentDate variable doesn't get updated during runtime.
I have tried Local and Global and each change policy but each run inserts the datetime when the variable was created.
HTTPS application recording issues - IBM Http server Cognos 8.4.1
Hi,
I am getting error while recording https application. I am using Neoload 7.0 for recording.
The application uses below SSL:
TLS 1.2
TLS_RSA_WITH_3DES_EDE_CBC_SHA
112 bit keys.
PFB the Neoload Log,
2019/09/25 20:29:47 WARN - com.neotys.net.proxy.f.h: Exception during the recording 41 javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:203)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:162)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at com.neotys.net.proxy.d.i.a(i.java:35)
at java.lang.Thread.run(Thread.java:745)
How can I implement keyboard shortcuts in my user path script?
The VU shall press the Key "Enter" instead of clicking. How can I implement shortcut Actions intop the user path script?
Keyboard shortcut to enable/disable UserPath/Transactions
Is there any keyboard shortcuts to enable/disable UserPath/Transactions?
Neoload wont open Chrome browser
Hi, When I open Neoload and start a recording. the Recording tab appears but my chrome browser does not appear. Once I end the recording because I cant do anything and re attempt, the record button is not functional
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
The Specified URL Cannot be found error is coming during validation
While validating the User path, I am getting 'The Specified URL cannot be found'. Application is working fine manually and all dynamic parameters are also handled.
how to do i record apis in neoload through postman
i have 12 apis and have to test with a load of 10000 users in neoload i am just adding each api individually it is taking more time bcoz i ahve to add parameters of api for every api is there any option to add all parameters at a time instead of adding oneby one
How can we debug "NL-NETWORK-01 java.nio.channels.AsynchronousCloseException"?
Hi,
I am getting this error for a particular URL when running test on kubernetes LGs. All the requests are failing but I am not facing this issue when running test from Local LGs.
Please let me know how to get this issue resolved?
I have one access token that will be changed dynamically i have to capture that and pass it to next request
when every time runs that api one value will be generated that value has to pass to subsequent apis then only that apis will run how to pass that value to next subsequent values
Docker Image Changelog
Where can i find the difference between Docker Images on hub.docker.com - neotys/*
example:
neotys/neoload-controller-6.10
neotys/neoload-controller-6.10.1-hf-proxy
Grz Louis
WHat is the Password to install Neoload Root certificate on Mac. There is pop up asking password?
I couldn't install root cert on Mac since the installer is asking for password. I couldn't record a workflow successfully on https unless I have the root certificate installed as per documentation
How can we interpret when we choose Value Change Policy as each use and order as random?
Hi,
Suppose we have our variables in one table where three columns (a1,a2,a3) are there. and we want to change the variable's value on each use and in random order. And also value from each column should come from the same row at each use.
means if value is getting picked from row no 2 for cloumn a1 then value should come from same row no for column a2 and a3 as well.
Can we achieve this?
Thanks,
Abhishek
Configure Load Generator Virtual Memory
I need to configure LG virtual memory to its maximum. I have 8 GB of Physical Memory and now I want to increase virtual memory to 4 GB. Attached is /conf/agent.properties file (contains only Load Generator part).
Also please let me know what is (line 4):
1. -XX:MaxRAMFraction=4
2. -Xss228k
Thanks in advance
Agent version different?
Hi, I am unable to check a virtual user path as it fails with an error message "Load generator:7100" and one more aspect to note is that the agent version cannot be upgraded as it is based on a different major version.
When the log folders were checked, I see below entries - these do not point to any major version conflict.
neoload.agent.Agent: Starting agent (7.0.0;build=20190712-20)...
neoload.Controller: Starting NeoLoad Version 7.0.0;build=20190712-20
Please check the attached file and provide assistance.
Why is response part of content missing during replay?
After replay the response is:
{"success":true,"code":200,"message":"Liste des fiches terrains","fieldNameError":null,"fichesTerrains":[]}
During capture the response is in the add file
Script Conversion
When a LR script is attempted to convert to Neoload user path, below error is seen. Please assist with a resolution. LR script if HTTP/HTML protocol.
Error during project migration, migration aborted.
java.lang.NumberFormatException: For input string: "4294967295"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at com.neotys.neoload.model.readers.loadrunner.filereader.ParameterFileReader.parseRandomParameter(ParameterFileReader.java:108)
at com.neotys.neoload.model.readers.loadrunner.filereader.ParameterFileReader.handleParameter(ParameterFileReader.java:75)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1548)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.neotys.neoload.model.readers.loadrunner.filereader.ParameterFileReader.<init>(ParameterFileReader.java:49)
at com.neotys.neoload.model.readers.loadrunner.LoadRunnerReader.readScript(LoadRunnerReader.java:138)
at com.neotys.neoload.model.readers.loadrunner.LoadRunnerReader.read(LoadRunnerReader.java:119)
at com.neotys.converters.launcher.Launcher.main(Launcher.java:130)
The converter has returned a non zero value
The issue occurs with a specific LR script and few other LR scripts do get converted successfully.
Stop policy: Population undefined
How is it possible to have an undefined population?
Check screenshots added to this Q.
How do I connect my cell phone to the tool?
They tell me that it is by proxy