You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/02/20 13:31:36 UTC
DO NOT REPLY [Bug 52712] New: Assertion is not evaluated for
embedded resources
https://issues.apache.org/bugzilla/show_bug.cgi?id=52712
Bug #: 52712
Summary: Assertion is not evaluated for embedded resources
Product: JMeter
Version: 2.6
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
AssignedTo: issues@jmeter.apache.org
ReportedBy: juha.alhonen@kolumbus.fi
Classification: Unclassified
I have assertion defined on top level of thread group. Assertion is negation,
saying that page should NOT contain specific test, let's say it should not
contain text "Invalid sessionKey".
If that text is found in response from user defined HTTP request, it is (of
course) evaluated correctly and assertion error is raised.
However, if I use option "Retrieve All Embedded Resources from HTML files" and
that assertion is found from embedded resource, assertion is NOT evaluated and
assertion error is not raised when it should.
Now when I use "Retrieve all embedded resources from HTML files" to get all
pics and so on (to simulate real traffic). Additionally I have to download one
embedded resource second time as "hard-coded" to be able to catch assertion
(negative in my case, but I suspect same applies to positive assertions too).
This additional HTTP request is causing not-wanted traffic.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52712] Assertion is not evaluated for embedded
resources
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52712
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Sebb <se...@apache.org> 2012-02-20 15:13:59 UTC ---
What setting are you using for the "Apply to" radio button?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52712] Assertion is not evaluated for embedded
resources
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52712
juha.alhonen@kolumbus.fi changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |INVALID
--- Comment #2 from juha.alhonen@kolumbus.fi 2012-02-21 09:41:36 UTC ---
User error.
I used "Main sample only", when I should have used "Main sample and
sub-samples". I fighting too much with my issue and I was too blind to see
obvious.
I changed option and it works.
I am very sorry for loading you with my own stupid mistake.
Issue can be closed
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.