Share this page

# Update test set name

Available in versions: LoadRunner Enterprise 2020 and later

## Description

Updates a test set name by the specified test set ID.

## URL

Copy code

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/testsets/{ID}

## Remarks

The test data can be passed as XML containing the equivalent data.

## HTTP Method

PUT: Updates the test set name.

## Request

Headers:

Content-Type: application/xml

Cookies:

LWSSO_COOKIE_KEY={LwssoCookie};

Request Body:

PUT: An XML with the name of the test set to be updated in the test.

Request Example - PUT request which updates the test set name
Copy code

    PUT http://<LRE_Server>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/testsets/1003
    Content-Type: application/xml
    Body:
    <TestSetxmlns="http://www.hp.com/PC/REST/API">
       <TestSetName>New Test Set Name</TestSetName>
    </TestSet>

## Response

Headers:

One of:

- Content-Type: application/xml
- Content-Type: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

PUT: Returns the test set name after the update.

## See Also

Get all test sets
Delete a test set
Create a test set

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)