{ "meta": { "name": "Bulk Resolve with Highest Progress Strategy", "type": "http", "event": [ { "listen": "test", "script": { "exec": [ "// Test highest progress strategy", "if (response.status === 200) {", " tests['Highest progress strategy successful'] = true;", " const body = JSON.parse(response.body);", " tests['At least one conflict resolved'] = body.success > 0;", "} else {", " tests['Strategy failed'] = false;", "}" ] } } ] }, "req": { "url": "{{baseUrl}}/api/conflicts/bulk-resolve", "method": "POST", "headers": { "Content-Type": "application/json", "Authorization": "Bearer {{authToken}}" }, "body": { "conflict_ids": [ "{{conflictId1}}" ], "strategy": "highest_progress" } } }