mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-08 03:08:56 +00:00
throw out params in uri marker
This commit is contained in:
parent
265896962e
commit
0e7f7a5f6e
@ -9,9 +9,17 @@ Content-length: 32\r
|
||||
param1=50¶m2=0¶m3=hello
|
||||
"""
|
||||
|
||||
__test_missile = """\
|
||||
GET /example/search?param1=50¶m2=0¶m3=hello HTTP/1.1\r
|
||||
Connection: close\r
|
||||
Host: example.org\r
|
||||
Content-length: 32\r
|
||||
\r
|
||||
"""
|
||||
|
||||
|
||||
def __mark_by_uri(missile):
|
||||
return '_'.join(missile.split('\n', 1)[0].split(' ', 2)[1].split('/'))
|
||||
return '_'.join(missile.split('\n', 1)[0].split(' ', 2)[1].split('?')[0].split('/'))
|
||||
|
||||
|
||||
__markers = {
|
||||
|
Loading…
Reference in New Issue
Block a user