Transfer a wireshark captured http request to a curl request
问题 I am trying to simulate a post request from a system I am not familiar with(http thrift). With wire shark, I get the http request like :. But I am going to perform a stress test with tools like ab , so How I can transfer a Wireshark package to a ab or curl command http request ? 回答1: Here are two tools that can help you: h2c, HTTP headers to curl, which converts a HTTP request to a suitable curl command line. (written by me) pcap2curl, which is similar in style but instead converts a saved