14 years ago
Problem with attachments
Hello,
I am getting acquainted with SOAPUI. I have added the project and created the mockservice response for my request.
In my response i am adding 2 attachements with Content Type as "application/pdf".
When i run the mockservice and get the response at request side. Content Type for my both the attachemnts gets changed to "text/plain".
In message viewer of Mock service, Response Message is dispalying as "application/pdf" which means while sending it is correct.
I have tried detaching and attaching files again but still its not working.
I had used same mock response before also successfully. It was working fine but i dont know why i am facing problems now.
I have other mock responses with the attachments which works fine.
Can anyone helps me with this problem. I donno where i am making mistake in the mock response.
Thanks & Regards,
Mitesh
I am getting acquainted with SOAPUI. I have added the project and created the mockservice response for my request.
In my response i am adding 2 attachements with Content Type as "application/pdf".
When i run the mockservice and get the response at request side. Content Type for my both the attachemnts gets changed to "text/plain".
In message viewer of Mock service, Response Message is dispalying as "application/pdf" which means while sending it is correct.
I have tried detaching and attaching files again but still its not working.
I had used same mock response before also successfully. It was working fine but i dont know why i am facing problems now.
I have other mock responses with the attachments which works fine.
Can anyone helps me with this problem. I donno where i am making mistake in the mock response.
Thanks & Regards,
Mitesh