© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
4 replies
VoidPointer

Postman Scripts to Compare Responses

(I know there are JS Discords, but the expertise here is just always so much better, and I'm not looking for language help.)

I have a VS2022 solution with two multi-project start-up configs, and I need to run Postman tests against both of these and compare responses. My first idea is to run a collection against an environment configured for one start-up, save the response JSON, and then either:

a) run the collection against another environment set up for the other start-up and use a post-request script to compare responses against those saved on the first environment.
b) run the collection twice, against the same environment, but automate starting up the solution once for each run, using a different start-up config each time and compare the response JSONs. This is preferable, because the projects used in each start-up currently have the same port numbers etc. It's quite an effort to create new launchsettings for each project, for each startup.

I've done some reading about saving response, but haven't found too much. JS isn't really an ideal tool for local disk access, so my first question is how to save the responses.

My second question is how to automate starting up VS2022 using different start-up configs, but this is a much lower priority question.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Image Postman
C#CC# / help
12mo ago
✅ Postman / SignalR
C#CC# / help
3y ago
❔ compare two dates
C#CC# / help
4y ago
❔ Storing & retrieving face encodings to compare
C#CC# / help
3y ago