use of com.coveros.selenified.services.Call in project selenified by Coveros.
the class ServicesIT method verifySuccessfulPutCallJsonArrayData.
@Test(groups = { "integration", "service", "httpput", "response" }, description = "An integration test to verify a successful put call with parameters")
public void verifySuccessfulPutCallJsonArrayData() {
// use this object to verify the app looks as expected
Call call = this.calls.get();
// perform some actions
call.put("post/4", new Request().setJsonPayload(new JsonArray())).verifyEquals().message("");
// verify no issues
finish();
}
use of com.coveros.selenified.services.Call in project selenified by Coveros.
the class ServicesIT method verifySuccessfulDeleteCall.
// for delete calls
@Test(groups = { "integration", "service", "httpdelete", "response" }, description = "An integration test to verify a successful delete call with parameters")
public void verifySuccessfulDeleteCall() {
// use this object to verify the app looks as expected
Call call = this.calls.get();
// perform some actions
call.delete("post/4", new Request()).verifyEquals().code(200);
// verify no issues
finish();
}
use of com.coveros.selenified.services.Call in project selenified by Coveros.
the class ServicesIT method verifySuccessfulPatchCallNoDataWithFile.
@Test(groups = { "integration", "service", "httppatch", "response" }, description = "An integration test to verify a successful patch call with parameters")
public void verifySuccessfulPatchCallNoDataWithFile() {
// use this object to verify the app looks as expected
Call call = this.calls.get();
// perform some actions
call.patch("post/4", new Request(), new File("Jenkinsfile")).verifyEquals().message("");
// verify no issues
finish();
}
use of com.coveros.selenified.services.Call in project selenified by Coveros.
the class ServicesIT method verifySuccessfulPostCallUrlParamsData.
@Test(groups = { "integration", "service", "httppost", "response" }, description = "An integration test to verify a successful post call with parameters")
public void verifySuccessfulPostCallUrlParamsData() {
// use this object to verify the app looks as expected
Call call = this.calls.get();
// perform some actions
call.post("post/4", new Request().setUrlParams(new HashMap<>())).verifyEquals().objectData(simJson4);
// verify no issues
finish();
}
use of com.coveros.selenified.services.Call in project selenified by Coveros.
the class ServicesIT method verifySuccessfulPostCall.
// for post calls
@Test(groups = { "integration", "service", "httppost", "response" }, description = "An integration test to verify a successful post call with parameters")
public void verifySuccessfulPostCall() {
// use this object to verify the app looks as expected
Call call = this.calls.get();
// perform some actions
call.post("post/4", new Request()).verifyEquals().code(200);
// verify no issues
finish();
}
Aggregations