A script for searching phrase in the body of the request-response and highlight + adds a comment to the response
- Choose where the search will be carried out
- search in request body
- search in response body
- request-response switcher
- search in request and response at the same time
- Two search modes:
- exact search – search for a phrase case-sensitive and space-sensitive
- soft search – search including the phrase within the phrase, case-insensitive
- Search for and highlight several different phrases with the same color
Tutorial for install and configurate Proxyman are available to the Appsyoulove team on the wiki or easily googled.
To configure the script, you need to change the parameter values in the color
array
There are 7 objects in the array, each of which indicates which color to highlight the found phrase: red, blue, green, yellow, purple, gray, white (CommentOnly).
Each object has 3 properties, through which the search is configured:
whatFind: 'any_phrase_or_[array_of_phrases]'
– is what will be searched forwhereSearch: 'request/response/everywhere'
– where the request will be searchedrequest
– in the request bodyresponse
– in the response bodyeverywhere
– in the request & response body at the same time
exactSearch: true/false
– enable/disable exact search