2014-04-30T11:00:00Z
it_user109749 - PeerSpot reviewer
Testing at a tech services company with 10,001+ employees
  • 5
  • 4

Is it possible to send an attachment in the response message of the stub using CA Service Virtualization?

I am looking for a method which I can use to send an attachment (such as an excel file) in the response message of the stub.

Is this possible using CA LISA?

5
PeerSpot user
5 Answers
it_user109749 - PeerSpot reviewer
Testing at a tech services company with 10,001+ employees
Real User
2014-05-05T16:23:14Z
May 5, 2014

Thank you Kishore, I will definitely try this and see if this works.

Search for a product comparison
it_user72324 - PeerSpot reviewer
Sales Engineer at Skytap
Vendor
2014-05-05T15:51:22Z
May 5, 2014

Yes, you can. Kishore's response is spot on.

it_user104973 - PeerSpot reviewer
Technical Consultant at a transportation company with 1,001-5,000 employees
Vendor
2014-04-30T14:30:50Z
Apr 30, 2014

I have not tried this before, but I did ask a CA consultant (who is still on our time) and this is the response I received from him:

Yes, you can do this. There is an option to make the response binary. You could read in an external file, assign it to a property, and evaluate that property in the response.

If a static binary file is the *only* thing you’re returning, this is pretty easy. The following two scenarios are also possible, but would require more work:

1) Making the document a SOAP
attachment. I once did this for a customer.

2) Returning a dynamic, rather than static, document.

it_user105102 - PeerSpot reviewer
Architect at a tech services company with 10,001+ employees
Real User
2014-04-30T13:53:50Z
Apr 30, 2014

I cannot respond whether CA LISA has this capability.

I will add that the latest release of HP Service Virtualization 3.50 adds the ability to create a scripted response. With scripting you may programmatically interpret the request message and programmatically provide the response you desire. I don’t know if you may explicitly use an attachment in the response but believe it is possible with the scripted response feature.

If the protocol in question is SOAP then HP Service Virtualization supports MTOM attachments. I do not know if CA LISA supports this or not.

it_user102126 - PeerSpot reviewer
Independent Test Automation Professional at a tech consulting company with 51-200 employees
Consultant
2014-04-30T11:24:13Z
Apr 30, 2014

I do not have any working experience using CA LISA myself, but you might want to try the forums at www.servicevirtualization.com. Most of the discussions there concern CA LISA, so I think that would be your best bet.

Good luck.

Related Questions
Miriam Tover - PeerSpot reviewer
Service Delivery Manager at PeerSpot (formerly IT Central Station)
Jun 16, 2022
If you were talking to someone whose organization is considering Broadcom Service Virtualization, what would you say? How would you rate it and why? Any other tips or advice?
See 1 answer
DM
Senior Project Manager at Infosys
Jun 16, 2022
It is a very good tool with support for a variety of protocols and has a user-friendly UI and other scripting features as well. I will give it a rating of nine out of ten.
Miriam Tover - PeerSpot reviewer
Service Delivery Manager at PeerSpot (formerly IT Central Station)
Jun 16, 2022
How do you or your organization use this solution? Please share with us so that your peers can learn from your experiences. Thank you!
See 1 answer
DM
Senior Project Manager at Infosys
Jun 16, 2022
We use it for the virtualization of third-party APIs for performance testing. Our second use case is related to the virtualization of TCP/IP protocols for third-party terminal insurance, which is used for insurance clients.