Gatling will request www.google.com and not the full url. Have anyone encountered this before? Any clues to a workaround?
As far as I know, the developers here had to adapt some javascript to get their site to work properly with Durandal due to the #, I’m guessing Gatling struggles due to the same reason. Maybe Gatling interprets whatever comes after the # as an anchor?
Any help to solve this would be greatly appriciated!
Check out RFC3986, everything in a URI that comes after a # is a fragment, and a user agent mustn’t send it to a server, this information stays on the client side and is typically used by a browser to scroll to the corresponding anchor (or used by some javascript code).
I understand what you’re saying and what the generic syntax says about fragments, but that’s not the case in this situation. Due to Durandal Router, the # is a part of the URI that has to be sent to the server.
Is there anyway to make Gatling send the information to the server?
-Håkon
torsdag 13. august 2015 14.16.39 UTC+2 skrev Stéphane Landelle følgende:
Honestly, I really doubt the fragment is sent to the server over the wire. Plus Durandal is only a front end framework and has nothing to do with what happens on the server side.
So without an example that proves me wrong, there’s nothing I can do.