Update test plan folder name
Available in versions: LoadRunner Enterprise 2020 and later
Description
Updates a test plan folder name by the specified test plan ID.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/testplan/{ID}
Remarks
The test data can be passed as XML containing the equivalent data.
HTTP Method
PUT: Updates the design test plan folder name.
Request
Headers:
Content-Type: application/xml
Cookies:
Version 2020 (or later): LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
PUT: An XML with the name of the test plan folder to be updated in the test.

PUT http://<LRE_Server>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/testplan/1
Content-Type: application/xml
Body:
<TestPlanFolder xmlns="http://www.hp.com/PC/REST/API">
<Name>Test Plan 2</Name>
</TestPlanFolder>
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 plan name after the update.
See Also
Create or get all folders in a test plan
Delete test plan folder