Use this Knowledge Script to emulate the delivery of an SAP R/3 sales order by an operator at the client. If you choose to collect data, this Knowledge Script generates the following data streams:
The response time in seconds. Additional details are saved with the data point, and can be viewed by double-clicking the data point in the Graph Pane or Chart Console.
Availability -- Returns one of two values:
1 -- test was successful
0 -- test was not successful
Networks-RT
The default interval for this script is Every 15 minutes.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
Collect data? |
Select Yes to collect data for graphs and reports. By default, data is collected. |
Event when test fails to run? |
Select Yes to raise an event when the test fails to run. By default, events are enabled. |
Event when response time exceeds threshold? |
Select Yes to raise an event when the threshold is exceeded. By default, events are enabled. |
Select endpoints to run the test to |
Click the Browse [...] button to display the Select a View dialog box. Highlight a view from the list and click Next to open the Select Desired Computer(s) dialog box. The view determines which computers are available for selection. Select one or more endpoint computers. Click Finish. |
Response time threshold (seconds) |
Specify a floating point number in seconds. When response time exceeds this value, an event is raised. On threshold events, the event message contains a breakdown of the total response time. Required, unless the Event when response time exceeds threshold parameter is disabled. |
Unsuccessful test event severity |
Set the severity level, from 1 to 40, to indicate the importance of the event. The default is 5. |
Threshold event severity |
Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 15. If you disable throughput events, this value is ignored. |
Detailed Parameters |
|
Transactions per record |
Specify a positive integer to represent the number of transactions to simulate. The value varies according to the application script. |
Transaction delay |
Specify a positive integer in milliseconds to control the frequency of transaction execution. This simulates an end user running the transaction on a regular basis. The default of 0 sets no delay, so that the script executes the number of transactions per record as quickly as possible. |
Size of record to send1 |
Specify the number of bytes to send in a record. The default is 45. |
Delay before responding1 |
Specify a number of seconds to simulate a server delay. The default is 0 (no delay). Before executing the next script, the server pauses for the specified value, which can be either a positive integer or a random distribution expressed in milliseconds. The format for random distributions is r(l,u), where r = U (uniform), N (normal), P (poisson), or E (exponential); l = lower limit; u = upper limit. For example, u(1,10). For more information, see Section A.7.1, Setting Sleep Times. |
Reply size1 |
Specify the number of bytes in the reply. The default is 284. |
Size of record to send2 |
Specify the number of bytes to send in a record. The default is 46. |
Reply size2 |
Specify the number of bytes in the reply. The default is 860. |
Size of record to send3 |
Specify the number of bytes to send in a record. The default is 58. |
Reply size3 |
Specify the number of bytes in the reply. The default is 1838. |
Size of record to send4 |
Specify the number of bytes to send in a record. The default is 164. |
Reply size4 |
Specify the number of bytes in the reply. The default is 299. |
Size of record to send5 |
Specify the number of bytes to send in a record. The default is 62. |
Reply size5 |
Specify the number of bytes in the reply. The default is 130. |
Size of record to send6 |
Specify the number of bytes to send in a record. The default is 63. |
Reply size6 |
Specify the number of bytes in the reply. The default is 1699. |
Size of record to send7 |
Specify the number of bytes to send in a record. The default is 95. |
Reply size7 |
Specify the number of bytes in the reply. The default is 176. |
Size of record to send8 |
Specify the number of bytes to send in a record. The default is 58. |
Reply size8 |
Specify the number of bytes in the reply. The default is 228. |
Size of record to send9 |
Specify the number of bytes to send in a record. The default is 57. |
Reply size9 |
Specify the number of bytes in the reply. The default is 1803. |
Size of record to send10 |
Specify the number of bytes to send in a record. The default is 59. |
Reply size10 |
Specify the number of bytes in the reply. The default is 1481. |
Delay before responding2 (also 3 through 10) |
Specify a number of seconds to simulate a server delay. The default is 0 (no delay). Before executing the next script, the server pauses for the specified value, which can be either a positive integer or a random distribution expressed in milliseconds. The format for random distributions is r(l,u), where r = U (uniform), N (normal), P (poisson), or E (exponential); l = lower limit; u = upper limit. For example, u(1,10). For more information, see Section A.7.1, Setting Sleep Times. |
Client delay1 (also 2 through 9) |
Specify a floating point number of seconds to simulate a delay or processing at the client side. |
Loop reply1 |
Specify the number of bytes in the loop reply. The default is 155. |
Loop client delay |
Specify a value to simulate a client delay. Before executing the next command, the script pauses for the specified time. The default is 0 (no pause). The value can be a positive integer or random distribution expressed in milliseconds. The random distribution format is r(l,u), where r = U (Uniform), N (Normal), P (Poisson), or E (Exponential); l = lower limit; u = upper limit. For example, u(1,10). |
Loop reply2 |
Specify the number of bytes in the loop reply. The default is 1450. |
Control delay2 |
Specify a value to simulate a server delay. Before executing the next command, the script pauses for the specified time. The default is 0 (no pause). The value can be a positive integer or random distribution expressed in milliseconds. The random distribution format is r(l,u), where r = U (Uniform), N (Normal), P (Poisson), or E (Exponential); l = lower limit; u = upper limit. For example, u(1,10). |
Loop client delay2 |
Specify a value to simulate a client delay. Before executing the next command, the script pauses for the specified time. The default is 0 (no pause). The value can be a positive integer or random distribution expressed in milliseconds. The random distribution format is r(l,u), where r = U (Uniform), N (Normal), P (Poisson), or E (Exponential); l = lower limit; u = upper limit. For example, u(1,10). |
Client delay10 |
Specify a floating point number of seconds to simulate a delay or processing at the client side. |
Loop size to send3 |
Specify the number of bytes in the loop file. The default is 63. |
Loop reply3 |
Specify the number of bytes in the loop reply. The default is 1575. |
Control delay |
Specify a value to simulate a server delay. Before executing the next command, the script pauses for the specified time. The default is 0 (no pause). The value can be a positive integer or random distribution expressed in milliseconds. The random distribution format is r(l,u), where r = U (Uniform), N (Normal), P (Poisson), or E (Exponential); l = lower limit; u = upper limit. For example, u(1,10). |
Client delay11 |
Specify a floating point number of seconds to simulate a delay or processing at the client side. |
Size of record to send12 |
Specify the number of bytes to send in a record. The default is 123. |
Reply size12 |
Specify the number of bytes in the reply. The default is 168. |
Delay before responding12 |
Specify a number of seconds to simulate a server delay. The default is 0 (no delay). Before executing the next script, the server pauses for the specified value, which can be either a positive integer or a random distribution expressed in milliseconds. The format for random distributions is r(l,u), where r = U (uniform), N (normal), P (poisson), or E (exponential); l = lower limit; u = upper limit. For example, u(1,10). For more information, see Section A.7.1, Setting Sleep Times. |
Destination port |
Specify the destination port number, or use the default AUTO for automatic assignment. Must be an integer between 1 and 65,535. |
Source port |
Specify the source port number, or use the default AUTO for automatic assignment. Must be an integer between 1 and 65,535. |