Author: sebb
Date: Tue Jun 5 06:14:16 2007
New Revision: 544479
URL: http://svn.apache.org/viewvc?view=rev&rev=544479
Log:
Check bodySent not null
TODO check mirror server running OK
Modified:
jakarta/jmeter/branches/rel-2-2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Modified:
jakarta/jmeter/branches/rel-2-2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java?view=diff&rev=544479&r1=544478&r2=544479
==============================================================================
---
jakarta/jmeter/branches/rel-2-2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
(original)
+++
jakarta/jmeter/branches/rel-2-2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Tue Jun 5 06:14:16 2007
@@ -68,7 +68,7 @@
// Start the HTTPMirrorServer
webServerControl = new HttpMirrorControl();
webServerControl.setPort(webServerPort);
- webServerControl.startHttpMirror();
+ webServerControl.startHttpMirror(); // TODO - check that the mirror
server is running somehow
// Create the test file content
TEST_FILE_CONTENT = new String("some foo content
&?=01234+56789-\u007c\u2aa1\u266a\u0153\u20a1\u0115\u0364\u00c5\u2052\uc385%C3%85").getBytes("UTF-8");
@@ -787,6 +787,7 @@
Integer.toString(expectedPostBody.length)
)
);
+ assertNotNull("Sent body should not be null",bodySent);
// Check post body which was sent to the mirror server, and
// sent back by the mirror server
// We cannot check this merely by getting the body in the
contentEncoding,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]