mobbage icon indicating copy to clipboard operation
mobbage copied to clipboard

Getting 401 error with mobbage, for request values that works in Postman

Open avatarsol opened this issue 3 years ago • 1 comments

Hello, I am trying to submit mobbage test, based on the following work file: [{ "url": "http://myIP:myPort/api/myMethod", "count": 100, "method": "GET", "header": ["resource_id:10000", "Cookie:"Authorization=\"Bearer my_bearer_data\"""] }] that I run with mobbage -V -f filename.json Requests are sent, but all end up with 401 error. Call with an identical URL and two header key values above retrieves relevant data, when initiated by Postman. What am I missing? Thanks in advance. Miomir

avatarsol avatar Mar 24 '21 16:03 avatarsol

Any help, please? Sending plain data works, but sending JSON (by escaping double quotes in header or body, as in siege) doesn't seem to work. Thanks

avatarsol avatar Apr 14 '21 22:04 avatarsol