Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Documentation says how to make GET/POST requests in Yandex Tank, but I couldn't find instructions about other http requests (PUT/PATCH/DELETE).

Can Yandex Tank shoot with these methods as well and if so, how to achieve this?

question from:https://stackoverflow.com/questions/65860646/how-to-make-put-patch-delete-requests-in-yandex-tank

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

If you use phantom (default load generator), make Request-style ammo file with a sequence of http request that you need. https://yandextank.readthedocs.io/en/latest/tutorial.html#request-style

There were examples of ammo generators https://yandextank.readthedocs.io/en/latest/ammo_generators.html


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...