API Test - Create by importing RR Pair - Won't work

Document ID : KB000004680
Last Modified Date : 14/02/2018
Show Technical Document Details

We have one simple XML pair and we Browse/Drop the files to create API test from Devtest portal. Created these request and response files with proper naming conventions as sample-req.xml and sample-rsp.xml.

When we try to import these RR paris, getting below error:

Error Message received: 


Exception caught when parse RRPairs: Error 500 - Failed to process request/response pairs. rrDir must be a valid directory that contains request/response pair files 


Since request and response files are added to a folder and created zip file for that folder and importing to Devtest, portal is not extracting files from the folder. Due to this getting an error.  


To resolve this issue, create a zip file to request and response files and attach zip file to portal.