You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/10/28 12:47:29 UTC
svn commit: r1813621 - in /jmeter/trunk/bin/testfiles: JDBC_TESTS.jmx
JDBC_TESTS.xml
Author: pmouawad
Date: Sat Oct 28 12:47:28 2017
New Revision: 1813621
URL: http://svn.apache.org/viewvc?rev=1813621&view=rev
Log:
Add a check on table existence for drop
Adjust assertions
Modified:
jmeter/trunk/bin/testfiles/JDBC_TESTS.jmx
jmeter/trunk/bin/testfiles/JDBC_TESTS.xml
Modified: jmeter/trunk/bin/testfiles/JDBC_TESTS.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/JDBC_TESTS.jmx?rev=1813621&r1=1813620&r2=1813621&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/JDBC_TESTS.jmx (original)
+++ jmeter/trunk/bin/testfiles/JDBC_TESTS.jmx Sat Oct 28 12:47:28 2017
@@ -44,7 +44,7 @@
<hashTree>
<JDBCSampler guiclass="TestBeanGUI" testclass="JDBCSampler" testname="JDBC_DROP_TABLE" enabled="true">
<stringProp name="dataSource">dbConfig</stringProp>
- <stringProp name="query">drop table USERS;
+ <stringProp name="query">drop table USERS IF EXISTS;
</stringProp>
<stringProp name="queryArguments"></stringProp>
<stringProp name="queryArgumentsTypes"></stringProp>
@@ -55,10 +55,12 @@
<stringProp name="variableNames"></stringProp>
</JDBCSampler>
<hashTree>
- <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_IgnoreError" enabled="true">
- <collectionProp name="Asserion.test_strings"/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1157542694">0 updates</stringProp>
+ </collectionProp>
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
- <boolProp name="Assertion.assume_success">true</boolProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
<intProp name="Assertion.test_type">16</intProp>
</ResponseAssertion>
<hashTree/>
@@ -81,7 +83,7 @@
<stringProp name="variableNames"></stringProp>
</JDBCSampler>
<hashTree>
- <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_IgnoreError" enabled="true">
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
<collectionProp name="Asserion.test_strings">
<stringProp name="-1157542694">0 updates</stringProp>
</collectionProp>
Modified: jmeter/trunk/bin/testfiles/JDBC_TESTS.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/JDBC_TESTS.xml?rev=1813621&r1=1813620&r2=1813621&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/JDBC_TESTS.xml (original)
+++ jmeter/trunk/bin/testfiles/JDBC_TESTS.xml Sat Oct 28 12:47:28 2017
@@ -2,14 +2,14 @@
<testResults version="1.2">
<sample s="true" lb="JDBC_DROP_TABLE" rc="200" rm="OK" tn="setUp Thread Group 1-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>RA_IgnoreError</name>
+ <name>RA</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</sample>
<sample s="true" lb="JDBC_CREATE_TABLE" rc="200" rm="OK" tn="setUp Thread Group 1-1" dt="text" sc="1" ec="0" ng="1" na="1">
<assertionResult>
- <name>RA_IgnoreError</name>
+ <name>RA</name>
<failure>false</failure>
<error>false</error>
</assertionResult>