for a web application, i\'m trying to write api testing by using RestAssured framework in java and the scenario has got 2 steps as mentioned in follow ;