如何通过传递ID列表来对此进行迭代。我在foo变量中有多个ID,我想为该foo变量中的每个ID调用 delete_project.feature 。
project.feature
* def foo = get response.data[*].id
* def del = call read('delete_project.feature')
delete_project.feature
Given path 'project', id
When method DELETE
Then status 200
Then match response.status == 'success'
答案 0 :(得分:2)