Test Cases
To test the performance of an API
To test the performance of com.adventnet.testtools.common.util.FileUtil
To get the API Instance using the following properties.
APIName =com.adventnet.testtools.common.util.FileUtil
Instance creation=Static
To test the resource usage of a process
To get the CPU and memory usage of the defined process
To
measure the latency period of APIs.
To measure the latency period of addUser()
and addAction().
Application Control Parameters
Nil
Test Case ID |
Test Case Description |
Test Case Procedure |
Expected Behavior |
Severity |
PERF-SampleAPI-001 |
Testing the FileUtil api performance. |
- Specify the API com.adventnet.testtools.common.util.FileUtil
- Specify the No. of users & No. of
samples.
- Select the API Instance Type as Static.
- Select any Methods and Click Configure Arguments
button.
- Specify the arguments if needed.
- Select the agent.
- Click Finish.
|
Test Case should execute and finally it generates the table and graph
reports. |
Showstopper |
PERF-TRANS-CODEINST-001 |
To measure the latency period of AddUserPanel API and UserAdminClientAPI. |
Load the classses com.adventnet.qengine.project.AddUserPanel
and com.adventnet.testtools.sample.UserAdminClientAPI Select the method
addAction() from com.adventnet.qengine.project.AddUserPanel.
Select the addUser()
from com.adventnet.testtools.sample.UserAdminClientAPI. Specify the transaction script. Enter the SampleCount and SampleInterval. Select the agent. - Click Finish.
|
Test Case should execute and finally it generates the table and graph
reports. |
Showstopper |
PERF-SampleResUsage-001 |
To get the resource usage details of process com.adventnet.qengine.performance
|
- Specify the process name com.adventnet.qengine.performance
- Specify the No. of users and No. of samples.
- Select the Interval.
- Select the agent.
- Click Finish.
|
Test Case should execute and finally it generates the table and graph
reports. |
Showstopper
|