Hi,
I have a stress scenario against Moodle who work correctly with gatling 1.4.3.
I just try it with gatling version 1.5.1 and 1.5.0. With this two versions, some of my requests failed.
All the incriminate requests have one thing in common. They used a query string with some parameters,
but unlike parameters transmit by a form (script.php?param1=val1¶m2=val2), they look like script.php?val1&val2.
After looking a the RFC (#3986), this form of URL seem valid to me.
If I look in the log of my http server, I see that the URL of the request has been modified.
For example :
.get("/moodle/theme/yui_combo.php?3.7.3/build/simpleyui/simpleyui-min.js&3.7.3/build/loader/loader-min.js")
generate this request in the http server log :
“GET /moodle/theme/yui_combo.php?3.7.3%2Fbuild%2Fsimpleyui%2Fsimpleyui-min.js=&3.7.3%2Fbuild%2Floader%2Floader-min.js= HTTP/1.1”
Please, note the presence of an equal sign after every parameters.
It’s seem that Gatling convert the request “GET /foo/script.php?val1&val2” in “GET /foo/script.php?val1=&val2=”. As if a parameter in a URL must
respect the syntax “name=value”.
Is it a bug in Gatling ? Or I miss something ?
Best regards.
David.