Passed

Create new attribute (from src/test/resources/feature/attribute/attributes.feature)

Took 0.96 sec.
001
Feature src/test/resources/feature/attribute/attributes.feature
002
Attributes
056
@CreateUpdateDelete
057
Scenario Create new attribute
058
Given url attributes_url
059
And header Authorization = 'Bearer ' + accessToken
060
And request read('classpath:attribute.json')
061
When method POST
062
Then status 201
063
Then def result = response
064
Then set result.displayName = 'UpdatedQAAddedAttribute'
065
Then def inum_before = result.inum
066
Given url attributes_url
067
And header Authorization = 'Bearer ' + accessToken
068
And request result
069
When method PUT
070
Then status 200
071
And assert response.displayName == 'UpdatedQAAddedAttribute'
072
And assert response.inum == inum_before
073
Given url attributes_url + '/' +response.inum
074
And header Authorization = 'Bearer ' + accessToken
075
When method DELETE
076
Then status 204