Service Virtualization

  • 1.  How to Transform XML to XSLT in CA Devtest

    Posted Apr 20, 2018 09:02 AM

    Hi All,

     

    Do we have any utility to transform XML to XSLT in CA Devtest as we have XSTL to XML.

     

    Thanks,

    Girija K.



  • 2.  Re: How to Transform XML to XSLT in CA Devtest
    Best Answer

    Broadcom Employee
    Posted Jun 07, 2018 02:33 AM

    Hi,

     

    Do you mean the feature like this URL:
    https://codebeautify.org/xml-xsl-transformation#
    for transformation XML-XSLT?

     

    Basically, DevTest does not include this kind of feature.
    However, if you have code(or logic) about this type of transformation, you can realize same feature in DevTest by using the Execute Script (JSR-223) Step.

     

    The Execute Script (JSR-223) Step supports scripts below:
    •Applescript (for OS X)
    •Beanshell
    •Freemarker
    •Groovy
    •JavaScript
    •Velocity
    But you need to debug after write script in this step.

     

    Cheers,