I am testing for preemptive authorization using BDD for API automation using Rest assured. Is this the correct syntax?
given().get("url").when().auth("username","pwd").then().assertthat().statuscode(200)
Can I write get()
after given()
or should it be in when()
?