# Migration to vREST NG v2.4.0
In this guide, we will see the migration of test data which you need to perform on your vREST NG project data if you want to upgrade to vREST NG v2.4.0 or onwards.
In vREST NG v2.4.0 and onwards, we don't support slashes in the test suite names. So if any of your existing vREST NG project contains slashes in the test suite names then please remove them by updating the testsuites.json
or testsuites.yaml
file.
Suppose before the migration, your testsuites.json
file look like this:
[
{
"name": "Test Suite 1",
"description": "",
"testCaseIds": [
"tc1"
]
},
{
"name": "Test Suite 2",
"description": "",
"testCaseIds": [
"tc2",
"tc3",
"tc4"
],
},
{
"name": "Test Suite 3 / Login",
"description": "",
"testCaseIds": [
"tc5"
]
}
]
Notice, in the above testsuites.json
file, there is a /
character in the third test suite Test Suite 3 / Login
. You will need to remove the slash characters from the test suite name fields. So you may rename it to say Test Suite 3 - Login
.
Now the resultant testsuites.json
file looks like this:
[
{
"name": "Test Suite 1",
"description": "",
"testCaseIds": [
"tc1"
]
},
{
"name": "Test Suite 2",
"description": "",
"testCaseIds": [
"tc2",
"tc3",
"tc4"
],
},
{
"name": "Test Suite 3 - Login",
"description": "",
"testCaseIds": [
"tc5"
]
}
]
That's it.