Project Number Date
REST POST Example(test) 684807e4-54a2-467b-bf8a-bcc222b31f8c 06 Mar 2022, 21:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@idai 6 0 0 0 0 6 1 0 1 2.008 Passed
2.008
Before io.virtualan.cucumblan.core.BaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
Before io.virtualan.cucumblan.core.DBBaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
Before io.virtualan.cucumblan.core.MsgBaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
Given a user perform a api action 0.000
And add request with given header params 0.046
contentType multipart/form-data
Accept */*
And add request with multipart/form-data given multipart-form params 0.048
filestream sample.json
serverUrls https://live.virtualandemo.com/api
dataload APITEST.json
execute true
type VIRTUALAN
reportTitle DemoTestReport
When a user post multipart/form-data in /test resource on idai 1.411
{
    "AcceptContentType": "*/*",
    "resource": "http://microservices.virtualandemo.com:8900/test",
    "context": {},
    "url": "http://microservices.virtualandemo.com:8900"
}
Then the status code is 201 0.078
{"STATUS_CODE": "201"}
And verify across response includes following in the response 0.423
testExecuted true
{"testId":"81352276-d53e-4a39-839b-00e811053c69","success":true,"sessionNr":1,"testExecuted":true,"skipResponseValidation":false,"creationTime":"2022-03-07 at 03:21:59 UTC","startTime":"2022-03-07 at 03:21:59 UTC","endTime":"2022-03-07 at 03:21:59 UTC","durationSeconds":0,"linkToFeature":"http://microservices.virtualandemo.com:8900/81352276-d53e-4a39-839b-00e811053c69/feature/virtualan-contract.0.feature","linkToReport":"http://microservices.virtualandemo.com:8900/81352276-d53e-4a39-839b-00e811053c69/cucumber-html-reports/overview-features.html","linkToProperties":"http://microservices.virtualandemo.com:8900/81352276-d53e-4a39-839b-00e811053c69/cucumblan.properties","linkToSessions":"http://microservices.virtualandemo.com:8900/81352276-d53e-4a39-839b-00e811053c69/alltests.json","linkToCollection":null,"message":"Report created.","error":"","errorType":null}