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

Fix request length calculation for pcap2ammo tool #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kr0nd
Copy link

@kr0nd kr0nd commented Nov 17, 2021

Yandex Tank expects the request size in bytes (in utf-8 encoding) whereas the tool calculates size as count of characters in the request. This solution worked for most of requests because they contained only 1-byte characters. Unfortunately, UTF-8 uses 1-4 bytes per character in general.

Vladimir Zhivaykin added 2 commits November 19, 2021 10:52
It depends on python version and environment variables whether
quotes will be omitted by default or not. So, it worth to remove them manually.
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

Successfully merging this pull request may close these issues.

1 participant