...
- In SOAtest, choose File> New> Test (.tst) file.
- Enter
ParaBank
in the File name field and click Next. - Choose Web > Record web scenario and click Next.
- Choose Record new web scenario and click Next.
- Complete the Record from a starting location wizard as follows and click Finish:
- Enter
ParaBank Functional Test
in the Test Suite Name field. - Enter
http://localhost.parasoft.com/index.html
in the Start Recording From field.
- Enter
- The test will begin and a browser window will open. Perform the following actions in the ParaBank application:
- Log into ParaBank with
john
as the username anddemo
for the password
- Click the link for the first account listed.
- Log out of the application and close the browser to conclude the recording session.
- Log into ParaBank with
...
- Open Parasoft Load Test:
- Windows: Choose Start> Programs> Parasoft> SOAtest> Load Test.
- Linux/Mac: Change directories to the loadtest directory, then enter the following command at the prompt:
./loadtest
- The Welcome Wizard launches. Choose New Project and click Next.
- Choose SOAtest and click Next.
- Do one of the following:
- Browse to the
ParaBank Functional Test.tst
file in your SOAtest workspace and click Next. - If you are using the SOAtestTutorial.tst file to complete this tutorial, browse to to
SOAtestTutorial.tst
and click Next. If you created this from "scratch", it will be in your workspace. Otherwise, open the sample file at[Parasoft SOAtest/Load Test Install Dir]/examples/tests/SOAtestTutorial.tst
. If Load Test detected an existing configuration, choose New Configuration.
- Browse to the
- Choose the test scenario in the tree and click Next:
- Services: "Scenario: Test Suite: Scenario Test – Search, Add to Cart, and Remove from Cart", "Test Suite: Plain XML Services".
Web: Scenario: ParaBank Functional Test.
- Services: "Scenario: Test Suite: Scenario Test – Search, Add to Cart, and Remove from Cart", "Test Suite: Plain XML Services".
- Specify the following configuration In the Schedule & Distribution screen and click Next until you reach the Other Options screen:
- Specify
2
minutes in the Duration field - Enable the Linear Increase option in the Distribution section. In order to select the Linear Increase option, you must have the appropriate Load Testing license. If you do not have Virtual Users enabled on your license, you will only be able to generate the Steady Load scenario.
- Specify
- In the Other Options screen, enable Start Load Test immediately and Record individual hits options and click Finish.
...
- Select Statistics from the Views menu in the Results panel.
When viewing the Statistics report, an Output Types menu is available. The Output Types menu determines what type of output report is displayed. Two types of reports are available from this menu, each of which displays different columns of information. The differences between report types are:- Generic Reports: Contains Test Suite name, Test Index, Test Name, Min/Max/Avg Time (ms), Run Count, and Failure Count.
- Network Client Report: Contains all of the information in Generic Reports plus Min/Max/Avg Ping (ms), Min/Max/Avg Request Size (bytes), Min/Max/Avg Response Size (bytes) Min/Max/Avg Total Size (bytes).
- To access details about a specific test failure, double-click the related report row. You can determine whether a given test failed by locating the row that represents that test, then check-ing checking the number in that row’s Failure Count column.
...