https://issues.apache.org/bugzilla/show_bug.cgi?id=47802
Summary: Response Assertion - Regular Expression Only Working
Intermittently
Product: JMeter
Version: 2.3.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Stealth_Man <[email protected]>
2009-09-08 08:57:20 PDT ---
TEST STEPS
==========
1. Added a response assertion to a HTTP request to analyse if the text Pattern
specified is contained in the returning page.
2. Regular expression ${ExpectedResult} was used to define the text pattern I
am looking for.
3. The value of this expression was set to pick up the second entry in a comma
flat file.
4. The test is simply reading a flat (comma) file and searching on the first
entry through Google. It then checks to see if the returned page contains the
text in ${ExpectedResult} and fail if the result is false.
5. This works for search criteria "Duck" but not "Elephant".
I have attached the script and comma flat file I am using so you could run the
test for yourself to re-produce the failure.
Look forward to your solution & Thanks in advance.
Regards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]