Bug 60507 - Added 'Or' Function into ResponseAssertion
Summary: Added 'Or' Function into ResponseAssertion
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: PC All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 02:11 UTC by 忻隆
Modified: 2016-12-30 22:27 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 忻隆 2016-12-22 02:11:43 UTC
Now there is no 'Or' Function in ResponseAssertion.
However, the response we get is always including more than one situations.
And it seems that logic 'Or' is necessary in the actual work.
Although coding in BeanShell PostProcessor can resolve this, adding 'Or' Function in ResponseAssertion will be more convenient.
So there is an enhancement needed to add 'Or' Function in ResponseAssertion.
Comment 2 忻隆 2016-12-22 04:41:49 UTC
In the code above, I modified in version 3.1
Comment 3 Philippe Mouawad 2016-12-30 22:27:06 UTC
Author: pmouawad
Date: Fri Dec 30 22:23:59 2016
New Revision: 1776651

URL: http://svn.apache.org/viewvc?rev=1776651&view=rev
Log:
Bug 60507 - Added 'Or' Function into ResponseAssertion
Based on contribution by  忻隆
Bugzilla Id: 60507

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/ResponseAssertion.java
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_zh_CN.properties
    jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java
    jmeter/trunk/xdocs/changes.xml