Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Meter - remove trailing slash on request url

Tags:

jmeter

I'm trying to make a request but it kept failing, it turn out that Apache JMeter is appending a "/" in the request as seen the View Result Listener > Request.

How do you disable that?Thanks!

like image 717
lorraine Avatar asked Dec 18 '13 06:12

lorraine


2 Answers

Put " ? " at the end of your request url.

Request url: www.stackoverflow.com/questions?

JMeter Url will be: https://stackoverflow.com/questions?/

like image 155
Cansın Tartıcı Avatar answered Oct 22 '22 00:10

Cansın Tartıcı


For thoose who search an easy way, here it is :

  1. In the HTTP Request, just put the server name in the "Server Name or IP"
  2. Add the rest of the path in "Path"

This should works :)

source: http://jmeter.512774.n5.nabble.com/Trailing-slashes-appended-to-webservice-path-tp5720633p5720638.html

like image 2
Valentin Avatar answered Oct 22 '22 01:10

Valentin