简体   繁体   中英

Karate Test Framework: how can I sign XML using p12?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM