Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4

Fix test failuredue to mistakingly using 2 threads 
Bugzilla Id: 57242

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1780739 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Philippe Mouawad 2017-01-28 19:58:05 +00:00
parent 4bbef99380
commit be7413a621
3 changed files with 2 additions and 34 deletions

View File

@ -4,12 +4,8 @@ HTTP-Request-WithNoMatchingAuth,200,OK,Thread Group 1-1,text,true
HTTPS-Request-WithNoMatchingAuth,200,OK,Thread Group 2-1,text,true
HTTPS-Request-WithNoMatchingAuth,200,OK,Thread Group 2-1,text,true
HTTP-Request-NoAuthManager,200,OK,Thread Group 3-1,text,true
HTTP-Request-NoAuthManager,200,OK,Thread Group 3-2,text,true
HTTP-Request-NoAuthManager,200,OK,Thread Group 3-1,text,true
HTTP-Request-NoAuthManager,200,OK,Thread Group 3-2,text,true
HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-1,text,true
HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-2,text,true
HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-2,text,true
HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-1,text,true
HTTP-Request-WithMatchingBasicAuth,200,OK,Thread Group 5-1,text,true
HTTP-Request-WithMatchingBasicAuth,200,OK,Thread Group 5-1,text,true

1 label responseCode responseMessage threadName dataType success
4 HTTPS-Request-WithNoMatchingAuth 200 OK Thread Group 2-1 text true
5 HTTPS-Request-WithNoMatchingAuth 200 OK Thread Group 2-1 text true
6 HTTP-Request-NoAuthManager 200 OK Thread Group 3-1 text true
HTTP-Request-NoAuthManager 200 OK Thread Group 3-2 text true
7 HTTP-Request-NoAuthManager 200 OK Thread Group 3-1 text true
HTTP-Request-NoAuthManager 200 OK Thread Group 3-2 text true
8 HTTPS-Request-NoAuthManager 200 OK Thread Group 4-1 text true
HTTPS-Request-NoAuthManager 200 OK Thread Group 4-2 text true
HTTPS-Request-NoAuthManager 200 OK Thread Group 4-2 text true
9 HTTPS-Request-NoAuthManager 200 OK Thread Group 4-1 text true
10 HTTP-Request-WithMatchingBasicAuth 200 OK Thread Group 5-1 text true
11 HTTP-Request-WithMatchingBasicAuth 200 OK Thread Group 5-1 text true

View File

@ -159,7 +159,7 @@
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">2</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">2</stringProp>
<stringProp name="ThreadGroup.num_threads">1</stringProp>
<stringProp name="ThreadGroup.ramp_time">0</stringProp>
<longProp name="ThreadGroup.start_time">1485612143000</longProp>
<longProp name="ThreadGroup.end_time">1485612143000</longProp>
@ -194,7 +194,7 @@
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">2</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">2</stringProp>
<stringProp name="ThreadGroup.num_threads">1</stringProp>
<stringProp name="ThreadGroup.ramp_time">0</stringProp>
<longProp name="ThreadGroup.start_time">1485612143000</longProp>
<longProp name="ThreadGroup.end_time">1485612143000</longProp>

View File

@ -35,13 +35,6 @@
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-2" dt="text" by="12014">
<assertionResult>
<name>JSA_CheckAuthorization</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-1" dt="text" by="12013">
<assertionResult>
<name>JSA_CheckAuthorization</name>
@ -49,13 +42,6 @@
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-2" dt="text" by="12013">
<assertionResult>
<name>JSA_CheckAuthorization</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-1" dt="text" by="12014">
<assertionResult>
<name>JSA_CheckAuthorization</name>
@ -63,20 +49,6 @@
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-2" dt="text" by="12014">
<assertionResult>
<name>JSA_CheckAuthorization</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-2" dt="text" by="12013">
<assertionResult>
<name>JSA_CheckAuthorization</name>
<failure>false</failure>
<error>false</error>
</assertionResult>
</httpSample>
<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-1" dt="text" by="12013">
<assertionResult>
<name>JSA_CheckAuthorization</name>