-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
@test
public void makingRestAssuredLogsToLogFileWithFilter() {
String getUrl = "http://dummy.restapiexample.com/api/v1/employees";
Response response = given().filter(new RestAssuredRequestFilter()).when().get(getUrl).then()
.extract().response();
}
[RemoteTestNG] detected TestNG version 7.4.0
12:19:55.917 [main] ERROR com.restassuredloggerexample.RestAssuredRequestFilter - GET http://dummy.restapiexample.com/api/v1/employees => 429 HTTP/1.1 429 Too Many Requests
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.code {
border-right: 2px solid;
font-size: 26px;
padding: 0 15px 0 15px;
text-align: center;
}
.message {
font-size: 18px;
text-align: center;
}
</style>
429
Too Many Requests
===============================================
Default test
Tests run: 1, Failures: 0, Skips: 0
===============================================
Default suite
Total tests run: 1, Passes: 1, Failures: 0, Skips: 0
Metadata
Metadata
Assignees
Labels
No labels