Chapter 12. NeoLoad F.A.Q

Q: Can NeoLoad carry out functional testing?
Q: How many Virtual Users can a Load Generator generate?
Q: Can I use NeoLoad on more than one machine?
Q: How do I add a prefix or suffix to a random variable?
Q: Can I use the Controller and Load Generators with a firewall?
Q: With which servers is NeoLoad compatible?
Q: How does NeoLoad manage cookies?
Q: Does NeoLoad support SSL?
Q: Why are container response times so long?
Q: What is an "all" node in a graph curve?
Q: How do I export a graph curve as an image?
Q: Why do my pages return a "java.net.NoRouteToHostException" error ?
Q: Which authentication methods are supported ?
Q: Why does NeoLoad say that all the memory is used up when I have system memory available?
Q: How do I export the raw test results?
Q: Why isn't the Play button active?
Q: Does NeoLoad support ActiveX components?
Q: When validating my Virtual Users, I get an NL-NETWORK-03 error, what does this mean?
Q: Why do some requests return a 404 error?
Q:

Can NeoLoad carry out functional testing?

A:

NeoLoad is not a tool designed for functional testing. However, it can perform checks on content returned by the server. Basic functional testing can be carried out using assertions, such as content assertions based on regular expressions.

Q:

How many Virtual Users can a Load Generator generate?

A:

This largely depends on the application being tested and the scenario and its parameters, especially the think time used between two pages. In fact, with a think time of two seconds, a Load Generator can generate twice as many Virtual Users than with a think time of one second.

As an indication, a Pentium IV 2,4GHz can produce up to 1500 hits/sec. Typically, a Load Generator can generate between 500 and 1500 Virtual Users for a standard application.

Remember that the NeoLoad Controller can use as many Load Generators as necessary to generate the number of Virtual Users set out in the license, and at no extra cost.

Q:

Can I use NeoLoad on more than one machine?

A:

With a NeoLoad license, you may install a Controller and as many Load Generators as needed to produce the required load. However, you may not use more than one Controller with each license.

Q:

How do I add a prefix or suffix to a random variable?

A:

Create a random variable corresponding to the variable part of the string to be generated. Then use the following string composition: "product_${productID}".

Q:

Can I use the Controller and Load Generators with a firewall?

A:

Yes. See the Chapter 2, Installation chapter for further information.

Q:

With which servers is NeoLoad compatible?

A:

Any web server or application server may be used. NeoLoad can test any HTTP application: ASP.Net, J2EE, PHP,....

Q:

How does NeoLoad manage cookies?

A:

NeoLoad automatically manages cookies sent by the server during the test. Cookies may also be defined in the request settings. Note that NeoLoad does not handle script-based cookies generated by the browser.

Q:

Does NeoLoad support SSL?

A:

Yes. NeoLoad can record HTTPS requests and play them back.

Moreover, NeoLoad does support authentication based on client certificates. When recording an SSL web site, the browser will generate a security alert. This is quite normal; ignore the alerts and continue browsing normally.

Q:

Why are container response times so long?

A:

The think time between two pages and any pause actions are taken into account when calculating a container's response time.

Q:

What is an "all" node in a graph curve?

A:

When you plot a customized graph curve, the "all" node represents the average for all the HTTP requests filtered by the selected Virtual User and Population (see "Filtering by Virtual User").

It does not take into account logical actions such as web pages or containers.

Q:

How do I export a graph curve as an image?

A:

Right-click on the curve to be exported, then select "Save as image..." to save the graph curve as a PNG image file.

Q:

Why do my pages return a "java.net.NoRouteToHostException" error ?

A:

The java.net.NoRouteToHostException: No route to host: connect error probably indicates that an incorrect network interface is being used. Check the Load Generator's network settings (see the section called “Load Generator hosts”).

Q:

Which authentication methods are supported ?

A:

Basic, form-based and NTML authentication.

Q:

Why does NeoLoad say that all the memory is used up when I have system memory available?

A:

The memory displayed in the Runtime pane refers to the Java heap, not system memory. If you want to use a heavy load, increase the memory available to the Load Generator (see Chapter 2, Installation).

Q:

How do I export the raw test results?

A:

NeoLoad can export raw data in CSV format. To export the statistics for a URL, page or container, use the Export button on the Values tab. You can also export all the raw data for several graph curves by using the Export button on the Graphs tab.

Q:

Why isn't the Play button active?

A:

When the Play test button is disabled, a message is displayed in the status bar giving the reason. To play a test, you need to have at least one Virtual User and one populated Population. In Runtime view, you also must have at least one Load Generator selected.

In most cases, the current machine ("localhost") is pre-selected, but it may be necessary to select the Load Generator manually, depending on the network configuration.

Q:

Does NeoLoad support ActiveX components?

A:

NeoLoad records and plays back any HTTP transmission between the browser and the web server. Therefore, NeoLoad can simulate the activity of client-side components such as an ActiveX component, as long as it uses the HTTP protocol to communicate with the server.

If the component sends binary data, NeoLoad will only be able to play back the recorded data as it was recorded, without any modification. If this data contains session ID's or other parameters that require replacing dynamically, the test will not work.

Q:

When validating my Virtual Users, I get an NL-NETWORK-03 error, what does this mean?

A:

The Virtual User's activity has been correctly recorded and you get an NL-NETWORK-03 error with the message: "Failed to connect to the server". This indicates that NeoLoad cannot connect to the server when the scenario is played back.

If the error details are "java.net.ConnectException: Connection timed out: connect", it would indicate that the Load Generator is using an incorrect network interface. Edit the Load Generator in the "Runtime/Scenario" section to check that the selected network interface allows access to the web server.

For other error details, typical causes are:

  • The server is not running or is running on another port.

  • A firewall or anti-spyware program is blocking NeoLoad's access to the server.

  • Incorrect proxy settings within NeoLoad. In the "Proxy" section of the NeoLoad preferences, check the proxy settings used by NeoLoad to connect to the web server.

If the error is not caused by any of the above, please carry out a short recording on a public Internet site such as www.google.com, then create a Virtual User and check its validity using NeoLoad. Once finished, please send all log files (all files in the <neoload>/logs directory) to the NeoLoad support team.

Q:

Why do some requests return a 404 error?

A:

If you get a 404 error on images, JavaScript or CSS files during the test, it means that these files are referenced and used in the HTML page but are missing on the server.

The end-user usually doesn't notice that the files are missing because the browser ignores this type of error.

Therefore, either the application needs to be fixed (by inserting the missing files or removing reference to them in the web page), or the request must be deleted from either the NeoLoad Repository or the Virtual User.