Unable to continue the test due to "Non HTTP response code: java.net.URISyntaxException"

6,015 views
Skip to first unread message

yuva....@gmail.com

unread,
Aug 4, 2017, 6:38:32 PM8/4/17
to codename-taurus
Hi 

I have started the test, it has been stopped after 2 min due to following error message. I think it is happening for special char in the URLs. 
I am able to run the test in jmeter successfully after setting encode is true, But not in Taurus. 

can you please help me on this.

Error message:
"Non HTTP response code: java.net.URISyntaxException"  
"Non HTTP response message: Illegal character in query at index 84: http://iabslrplx.landp.iad.oshift.iacp.io/solr/iabout3/select?q=walmart%20mastercard\"


Test Scripts:

execution:
- concurrency: 15
  scenario: solr
  hold-for: 180m
#- concurrency: 15
#  scenario: highlight
#  hold-for: 180m

scenarios:
  solr:
    headers:
      Content-Type: text/json
    requests:
    - url: /solr/iabout3/select?q=${solr}
      think-time: 5ms  # global delay between each request
      method: GET
      label: solr  # sampler label
    data-sources: # list of external data sources
    - path: iabout/solr-500k.csv  # this is full form, path option is required
      delimiter: ','  # input column delimiter, auto-detected by default
      quoted: false    # allow quoted data
      loop: true      # loop over in case EOF reached if true, stop thread if false
      variable-names: solr



Andrey Pokhilko

unread,
Aug 5, 2017, 12:35:35 PM8/5/17
to codenam...@googlegroups.com

Hi,

This is JMeter's message. It means your variable "solr" was containing some illegal characters for URL.

Not all of the characters are safe for URLs, some of them has to be encoded using urlencode function.

--

Andrey


On 08/05/2017 01:38 AM, yuva....@gmail.com wrote:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/5c6db9e5-e9a8-4d73-b388-eceddb9ba358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages