Posts by Jacqueline Costa • 1 point
2 posts
-
0
votes1
answer163
viewsA: Nullpointer when using Cucumber and Rest-Assured
I solved my problem by changing it this way: @Given("^A API de teste$") public void a_API_de_teste() { request = RestAssured.with().contentType(TYPE).header("Authorization", TOKEN); }…
-
0
votes1
answer163
viewsQ: Nullpointer when using Cucumber and Rest-Assured
I’m performing an API test using Cucumber and Rest-Assured, but in the call I use Rest-Assured is being returned a NullPointer. My Feature: Scenario: Parâmetros não foram informados Given A API de…