Passed

Create new OpenId Connect Sector (from src/test/resources/feature/openid/sectors/sectors.feature)

Took 0.9 sec.
001
Feature src/test/resources/feature/openid/sectors/sectors.feature
002
Openid connect sectors
016
@CreateUpdateDelete
017
Scenario Create new OpenId Connect Sector
018
Given url openidsectors_url
019
And header Authorization = 'Bearer ' + accessToken
020
And request read('classpath:sector.json')
021
When method POST
022
Then status 201
023
Then def result = response
024
Then set result.description = 'UpdatedQAAddedSector'
025
Then def inum_before = result.id
026
Given url openidsectors_url
027
And header Authorization = 'Bearer ' + accessToken
028
And request result
029
When method PUT
030
Then status 200
031
And assert response.description == 'UpdatedQAAddedSector'
032
And assert response.id == inum_before
033
Given url openidsectors_url + '/' +response.id
034
And header Authorization = 'Bearer ' + accessToken
035
When method DELETE
036
Then status 204