This example creates a test that monitors the amount of time to read the content of file located at F:\Test\testfile.bin.
Follow these steps:
The New test pane appears.
Specifies a valid test name
Example: Fileio Read Operation
Specifies the description of the test
Example: Performing a read operation for testfile.bin.
(Optional) Specifies a valid test class
Example: File IO R
Specifies the interval period of the test
Default: 30
Specifies the interval period of the test
Default: 10
Specifies the test type
Example: File I/O
Specifies the available operations for the test
Example: Read
Specifies the path of destination filename
Example: F:\Test\testFile.bin
Specifies the user name
Example: FIOTestUser
The test is saved and appears in the Available Policies page.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{
index=11
type=fileio
desc="Performing a read operation for testfile.bin."
destination=F:\Test\testFile.bin
args="op=r"
interval=30
samples=1
timeout=10
window=120
tos=0
limit=0
status=active
name="Fileio Read Operation"
class=""
context=""
flags="1"
loglevel=3
}
When you apply the File I/O test, the svcrsp.cf file is executed.
For information about the errors returned by File I/O tests, see File I/O Test Error Codes.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|