Updating an existing model, initially deployed from Workstation, by virtualize invoke API v3 and getting a 404 error
search cancel

Updating an existing model, initially deployed from Workstation, by virtualize invoke API v3 and getting a 404 error

book

Article ID: 216871

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Have deployed a model to VSE from workstation, then tried to update the service in the VSE using lisa virtualize invoke API v3 with new RR pairs, but when sending the request to get the response from those RR pairs, getting a 404 error. 

Can deploy a virtual service using API v3 and then update with RR Pairs from API v3 with no problems.

 

Environment

All supported DevTest releases.

Cause

N/A

Resolution

Created a new virtual service from the Workstation and made sure the vsi and vsm had the same name.

Then added RR Pairs using API v3 and was able to get it to work.

So bottom line is, make sure the vsi is put in the \VServices\Images folder, the vsm is put in the \VServices folder and verify the vts file is in the data folder and all have the same name.

Additional Information

Yes, you can add a response header.

You need to add the response header in the response file itself before running API v3.

Look at these examples in your DevTest folder:

DEVTEST_HOME\Projects\Bank v6\Data\rrpair

Look at any of the *rsp.txt files for an example. 

You need to make sure there is an empty line between the header and the body.