How do I write test for a single request with different data?

I want to test my API with two or more different types of body structures and write corresponding tests for each.
How can I achieve that?


They are plenty of resources to learn how to achieve that. The main one would be on the Learning Center:

If you’re new to Postman I’d also recommend going through these two video series:

1 Like

@leen please provide sample request/response so we can help you.

Duplicate of - How do I write test for same request with different body?

1 Like