Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
avatarsol opened this issue Mar 24, 2021 · 1 comment

Comments

@avatarsol
Copy link

avatarsol commented Mar 24, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant