Trigger email through Groovy script
I use a groovy script in extension tool step to trigger an email from parasoft SOAtest, but when the same script is uploaded to CTP and executed it fails with below error ,
"no object DCH or MIME type multipart/related"
Comments
-
Hi Rajesh,
I found some relevant information about this issue on stackoverflow.com.
https://stackoverflow.com/questions/21856211/javax-activation-unsupporteddatatypeexception-no-object-dch-for-mime-type-multi
You can try mapping MIME types to Java classes at the beginning of your extension tool with statements like mc.addMailcap("text/html;; x-java-content-handler=com.sun.mail.handlers.text_html"); etc.If you need to add any javax mail jar files, create a folder named "system_jars" under and place them in that folder. Then restart the SOAtest server. More information about adding custom jars is in the Parasoft documentation at https://docs.parasoft.com/display/VIRT20202/Server+Configuration#ServerConfiguration-AddingCustom/ExternalJars
0