Chapter 14. Neoload HowTos

Table of Contents

Running a Test from the Command Line
Scheduling a Test
Increasing Available Memory for the Load Generator
Logging in With Multiple Accounts Using a CSV File
Creating and Linking a CSV Variable to Login Information
Multiple Accounts Using the Post-recording Wizard and a CSV file
Creating Virtual Users
Creating a Virtual User Using the Post-recording Wizard
Creating and Configuring a Virtual User
Creating Virtual Users that Behave Differently
Creating Realistic Populations
Extracting a Dynamic Hidden Field from an HTML Form
Understanding the Problem
Extracting and Reinjecting the Hidden Dynamic Value
Going a Little Further with the Form Extractor
Related Links
Extracting and Following a Dynamic URL Generated by your Application
Understanding the Problem
Extracting and Reinjecting the Dynamic URL
Related Links
Extracting Data from an HTTP Request and Using it Later in the Scenario
Understanding the Problem
Extracting Contents and Assigning it to a Variable
Using the Variable
Related Links
Analyzing Errors in the Error Panel
Understanding the Context
Checking a Virtual User
Analyzing Errors on a Scenario Run
Related Links
Comparing Several Test Results
Understanding the Context
Displaying and Comparing Graph Results
Comparing Container Results
Related Links
Creating Business Transactions
Understanding the Context
Example Overview
Adding Dynamic Behavior
Constructing the Virtual User and the Associated Business Transaction
Building a population and a scenario
Analyzing Business Transaction Results
Related Links
Exporting Data
Understanding the Context
Generating a report
Exporting Results
Related Links
Monitoring an Application Server or a Database
Understanding the Context
Adding and Defining Monitors
Related Links
Testing SOAP Web Services
Understanding the Context
Manually Defining a SOAP Request Based on a WSDL Definition
Manually Defining a SOAP Request From Ground up
Using the Variable Extractor
Recording a SOAP Request
A Quick Tour on Analyzing SOAP Results
Related Links
Using an Additional Load Generator
Understanding the context
Installing a Load Generator
Running a Scenario using Several Load Generators
Related Links
Using Regular Expressions in NeoLoad
Understanding the Context
Related Links
Validating a Server Response
Understanding the Context
Adding Validations to an HTTP response
Related Links

Running a Test from the Command Line

NeoLoad can run a test from the command line, either with or without the GUI.

The syntax is:

	NeoLoadCmd [-noGUI] [-project ProjectFile] [-launch ScenarioName] [-report file]
  

Where:

  • project: specifies the project file(*.nlp) to be opened,

  • launch: specifies the scenario to launch in the project.

  • report: [optional] automatically generates a report when the test is completed. The file extension specifies the generated report's format; use ".html",".pdf" or ".xml".

  • noGUI: [optional] runs NeoLoad without the GUI

  • help: displays help on the command line.

Example:

	NeoLoadCmd -project projects/myProject.nlp -launch myScenario -noGUI