jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Trouble sending HTTP request with POST variable
Date Tue, 20 Nov 2012 10:40:44 GMT

I am trying to load test a java servlet that fetches records from an archive database.

The servlet works as follows:

1-Reads in post variables from HTTP header
2-Uses variables to query database
3-Returns XML

I have setup a test which I want to fire off HTTP requests with post variables however the
test is not working, getting errors with J Meter.

Screenshot 1 - Shows the structure of the test


Screenshot 2 - Shows the CSV file I am reading from


I have placed the CSV file in the same folder that my test plan is saved in!

Screenshot 3 - Shows the HTTP request


This is the error output:
Thread Name: Thread Group 1-1
Sample Start: 2012-11-20 10:35:27 GMT
Load time: 0
Latency: 0
Size in bytes: 1113
Headers size in bytes: 0
Body size in bytes: 1113
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code:
Response message: Non HTTP response message: Expected closing bracket for IPv6 address at
index 13: http://[]:61061/

Response headers:

HTTPSampleResult fields:
DataEncoding: null

POST Request

POST http://[]:61061/

POST data:

[no cookies]

Response DATA Expected closing bracket for IPv6 address at index 13: http://[]:61061/
        at$ Source)
        at$Parser.failExpecting(Unknown Source)
        at$Parser.parseServer(Unknown Source)
        at$Parser.parseAuthority(Unknown Source)
        at$Parser.parseHierarchical(Unknown Source)
        at$Parser.parse(Unknown Source)
        at<init>(Unknown Source)
        at Source)
        at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
        at org.apache.jmeter.threads.JMeterThread.process_sampler(
        at Source)

Please help!


  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message