Page History
...
Code Block |
---|
curl -H "Content-Type: multipart/form-data" -u user:password -F "file=@<featurefilename>.feature" -F "testInfo=@<jsonfilename>.json" "http://<serverURL>/rest/raven/1.0/import/feature?projectKey=<projectKey>" |
curl -H "Content-Type: multipart/form-data" -u user:password -F "file=@<featurefilename>.feature" -F "testInfo=@<jsonfilename>.json" "http://<serverURL>/rest/raven/1.0/import/feature?projectKey=<projectKey>"
Please note:
- Change the user and password;
- Change the feature file name
- Change the JSON filename
- Change the URL from your server
- Change the project key
- And finally, note that you should save both of these files on the same workspace folder
...