Karate Test Framework: Does this framework provide ability to sign soap xml request using p12 key ?
Not directly, but you can easily plug-in a few lines of Java code to do this. Note that Karate just sends the whole XML as plain-text, it is up to you to create the right shape, including signatures or Base64 encoded chunks.
Please refer to the docs for Java interop: https://github.com/intuit/karate#calling-java
You can look at the JWT example for some ideas: https://github.com/intuit/karate/blob/master/karate-demo/src/test/java/demo/jwt/jwt.feature
Related
Karate Test Framework: Does this framework provide ability to sign soap xml request using p12 key ?
Not directly, but you can easily plug-in a few lines of Java code to do this. Note that Karate just sends the whole XML as plain-text, it is up to you to create the right shape, including signatures or Base64 encoded chunks.
Please refer to the docs for Java interop: https://github.com/intuit/karate#calling-java
You can look at the JWT example for some ideas: https://github.com/intuit/karate/blob/master/karate-demo/src/test/java/demo/jwt/jwt.feature
when execute api rest with get method, the response body is a binary pdf file and I need download the ResponseHeader_Content-Disposition or file content to compare files.
It´s possible with UFT 14.51 with vbs?
Thanks!!
For UFT API Tests you can use the Programming Languages C# and Java and a Waste Library / Platform they bring with themselves, so why not rephrase the question: How do I download a File from an HTTP Respone with Java / C#.
Afterwards implement the download Step as a Custom Activity:
https://admhelp.microfocus.com/uft/en/14.50-14.53/UFT_Help/Content/User_Guide/z_Ch_API_TS_Extensibility.htm
So i have to upload text file to server with PUT request, i know there is similar solution but as it seems, not only for me it is generating errors:
solution generating error message
I know there is possibility to this this with tFileFetch component but it only support POST request.
My current job looks like this:
talend Job
And my question is how to write correct syntax in HTTP body to upload local file.
I couldn't get tREST to upload a file with the PUT http method. I'm pretty sure it's not possible. You should be able to do it with a custom java code though, that you can find in this article.
I have been given a url to a password protected wsdl and told to develop from it. The only other resource I have is a project setup xml for soap ui. The document works and I am able to import the project into soap ui and connect to the wsdl that way. I can even run operations. Unfortunately, I cannot figure out what the password is, so I have no way to view the wsdl directly, or (more importantly) have soap ui autogenerate the java client code.
I have found two usernames used in the xml document, but they are all used for individual operations. Putting them into my browser has not worked. Are there a wsdl username and password hidden somewhere in the soap ui document?
I also don't think I fully grasp the auth file thing. I went to USER_HOME and made a .metro folder, then put an extensionless file called "auth" in it and put "http://userName:password#remoteHost.wsdl?wsdl", but eclipse continued to ask for the auth file as though it did not exist.
I am doing a project where iphone or ipad is a client side..
problem here is using WSDL file we have generated stubs using a software...
the generated stubs are in the format .h and .m file
but how to run this file in xcode or integrate with the xcode....
I am not getting any links or tutorial to do so please suggest me how to do.
Thank u
Depends on a software that you have used to generate proxy classes from wsdl. We have successfully used http://code.google.com/p/wsdl2objc/, and just added generated files to project (project->add existing files). Bear in mind that those are just proxy classes, project structure and code to consume the webservice you have to write on your own.
Its depend upon the type of web service are generated. If its XML outputted web service , then you need to use nsxmlparser to parse the XML web-service.And if its outputted as JSON then you had to use JSON parser etc. Therefore its depends upon type of your web-service is, then you can use suitable parser to parse the web service. There are several links available on internet.