How to capture network calls with status codes using TestProject

Hi All,

I have a requirement to read all the network calls and respective status codes,
and then filter out a specific call and read the payload and store in variable.
Please give your inputs if its possible using TestProject.

Thanks