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

╄→гoц情女王★ 提交于 2021-02-05 09:11:20

问题


Karate Test Framework: Does this framework provide ability to sign soap xml request using p12 key ?


回答1:


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



来源:https://stackoverflow.com/questions/63309979/karate-test-framework-how-can-i-sign-xml-using-p12

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!