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.
git link https://github.com/edwar172038/jmeter/tree/60507 https://github.com/edwar172038/jmeter/compare/60507?expand=1
In the code above, I modified in version 3.1
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4203