|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Description:
Filter interface is designed to make it easier
to use Access Logs for JMeter test plans.
Normally, a person would have to clean a log
file manually and create the JMeter requests.
The access log parse utility uses the filter
to include/exclude files by either file name
or regular expression pattern.
It will also be used by HttpSamplers that use
access logs. Using access logs is intended as
a way to simulate production traffic. For
functional testing, it is better to use the
standard functional testing tools in JMeter.
Using access logs can also reduce the amount
of memory needed to run large test plans.
Method Summary | |
void |
excludeFiles(String[] filenames)
Exclude all files in the array |
void |
excludePattern(String[] regexp)
Exclude any log entry that contains the following regular expression pattern. |
String |
filter(String text)
In case the user wants to replace the file extension, log parsers should call this method. |
void |
includeFiles(String[] filenames)
Include all files in the array. |
void |
includePattern(String[] regexp)
Include any log entry that contains the following regular expression pattern. |
boolean |
isFiltered(String path)
Log parser will call this method to see if a particular entry should be filtered or not. |
void |
setReplaceExtension(String oldextension,
String newextension)
|
Method Detail |
public void setReplaceExtension(String oldextension, String newextension)
oldextension
- newextension
- public void includeFiles(String[] filenames)
filenames
- public void excludeFiles(String[] filenames)
filenames
- public void includePattern(String[] regexp)
regexp
- public void excludePattern(String[] regexp)
regexp
- public boolean isFiltered(String path)
path
-
public String filter(String text)
text
-
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |