I'm trying to get wireshark to only capture requests that I'm sending to wildfly via my test suite, I've gotten everything filtered but the responses to the http request contains.
not sure what I need to look at to get it to match only the responses to the requests that contained test. asked 19 Mar '14, 13:44 xenoterracide |
3 Answers:
you can do this:
You can automate that with tshark and some scripting.
See also my answer to a similar question Regards answered 20 Mar '14, 12:08 Kurt Knochner ♦ edited 20 Mar '14, 12:10 |
I don't think that that is possible with just one single filter, because the answer packet does not contain the request (unlike in DNS answers, for example). Wireshark can only filter on some packets depending on other packets if the dissector transfers the relevant details to the answer packet. An example for that would be the "http.request_in" which can be used to find packets that are a response to another packet, but that packet has to be specified by number. You can't use a uri filter for this. answered 19 Mar '14, 14:09 Jasper ♦♦ |
This is the kind of thing MATE is good for. Unfortunately it's not documented very well and can be tricky to use, but it is almost certainly possible to do what you want with it... answered 20 Mar '14, 10:17 JeffMorriss ♦ |