Package de.gematik.test.tiger.glue
Class HttpGlueCode
- java.lang.Object
-
- de.gematik.test.tiger.glue.HttpGlueCode
-
public class HttpGlueCode extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpGlueCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDefaultHeader(String headerKey, String headerValue)io.restassured.http.MethodrequestType(String requestedMethod)voidsendEmptyRequest(io.restassured.http.Method method, String address)voidsendEmptyRequestWithHeaders(io.restassured.http.Method method, String address, io.cucumber.datatable.DataTable table)voidsendPostRequestToWith(io.restassured.http.Method method, String url, io.cucumber.datatable.DataTable dataTable)voidsendRequestWithBody(io.restassured.http.Method method, String message, String address)voidsetDefaultTls(String pathAndPassword)Note the string format.
-
-
-
Method Detail
-
requestType
public io.restassured.http.Method requestType(String requestedMethod)
-
sendEmptyRequest
@When("TGR send empty {requestType} request to {string}") public void sendEmptyRequest(io.restassured.http.Method method, String address)
-
sendEmptyRequestWithHeaders
@When("TGR send empty {requestType} request to {string} with headers:") public void sendEmptyRequestWithHeaders(io.restassured.http.Method method, String address, io.cucumber.datatable.DataTable table)
-
sendRequestWithBody
@When("TGR send {requestType} request with {string} to {string}") public void sendRequestWithBody(io.restassured.http.Method method, String message, String address)
-
addDefaultHeader
@When("TGR set default header {string} to {string}") public void addDefaultHeader(String headerKey, String headerValue)
-
setDefaultTls
@When("TGR set default TLS client certificate to {string}") public void setDefaultTls(String pathAndPassword)Note the string format.- Parameters:
pathAndPassword- this/is/path;password
-
sendPostRequestToWith
@When("Send {requestType} request to {string} with") public void sendPostRequestToWith(io.restassured.http.Method method, String url, io.cucumber.datatable.DataTable dataTable)
-
-