How do you perform data-driven testing with REST Assured?

Use tools like TestNG, JUnit, or external data sources (Excel, CSV).

Example with TestNG :

@Test(dataProvider = "data")
public void testApi(String param1, String param2) {
    given()
        .queryParam("key", param1)
    .when()
        .get("/endpoint")
    .then()
        .statusCode(200);
}