HaedenH
15 years agoOccasional Contributor
SoapUI Test Scripts not running in LoadUI
Hello,
First off, I am completely new to SoapUI and LoadUI. I hope you forgive my ignorance. I tried to figure out my issue on my own before harassing the gurus but, here I am.
I did some searching on the forums and found this post: http://www.eviware.com/forum/viewtopic.php?f=12&t=5509&p=19159&hilit=soapui+test+case#p19159 which is has similar issues to what I am experiencing. However, after following the suggestions listed, my problem was still not resolved, so I am hoping that someone can provide some assistance.
Basically, I have two test cases created in SoapUI. A fetch information, and a fetch password expiration test. In SoapUI, they both work (the fetch information takes a few moments to run, whereas the password one will execute in less than 10 seconds). However, when I load them up into LoadUI, start the Project and/or Test Case and click Run Once, the test case selected will fail immediately. The website I am trying to test does require a certificate as well as a user name and password (although I believe I have these configured correctly in SoapUI - more below). Below are the steps I have attempted to take to reach a resolution... No luck so far.
Resolution attempt #1: Proxy Perhaps?
I first read that this may be caused by a proxy issue, and tried setting the Java network settings to use the proxy that I *sometimes* have to enable when connected to my company's VPN. The good news is that I no longer received the JavaFX error. The bad news is that this configuration made LoadUI run painfully slow, so I have since set that back to "Direct Connection" (haven't seen the JavaFX error since I made the switch, fingers crossed).
Resolution attempt #2: Certificate Certainty?
I had previously imported the certificate .pfx file into the Keystore in SoapUI, and entered the password in the Security Configuration tab (double click main project -> Security Configurations -> Keystores/Certificates) and verified that the Status is "OK". I have also set up Global Properties for "uid" and "pwd" - whether these help or not, I am not sure. Still works in SoapUI. Still no luck in LoadUI.
Resolution attempt #3: Error Entry
I routed the output from my SoapUI runner to a Table Log, and receive the following error:
"[[SOAP Response] error: The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got HTML, [SOAP Response] The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got HTML]"
So, as of now, still don't know what the issue is, and would greatly appreciate some assistance
Update: I have downloaded the LoadUI 1.0.2-SNAPSHOT and tried using that configuration.... same issue persists.
First off, I am completely new to SoapUI and LoadUI. I hope you forgive my ignorance. I tried to figure out my issue on my own before harassing the gurus but, here I am.
I did some searching on the forums and found this post: http://www.eviware.com/forum/viewtopic.php?f=12&t=5509&p=19159&hilit=soapui+test+case#p19159 which is has similar issues to what I am experiencing. However, after following the suggestions listed, my problem was still not resolved, so I am hoping that someone can provide some assistance.
Basically, I have two test cases created in SoapUI. A fetch information, and a fetch password expiration test. In SoapUI, they both work (the fetch information takes a few moments to run, whereas the password one will execute in less than 10 seconds). However, when I load them up into LoadUI, start the Project and/or Test Case and click Run Once, the test case selected will fail immediately. The website I am trying to test does require a certificate as well as a user name and password (although I believe I have these configured correctly in SoapUI - more below). Below are the steps I have attempted to take to reach a resolution... No luck so far.
Resolution attempt #1: Proxy Perhaps?
I first read that this may be caused by a proxy issue, and tried setting the Java network settings to use the proxy that I *sometimes* have to enable when connected to my company's VPN. The good news is that I no longer received the JavaFX error. The bad news is that this configuration made LoadUI run painfully slow, so I have since set that back to "Direct Connection" (haven't seen the JavaFX error since I made the switch, fingers crossed).
Resolution attempt #2: Certificate Certainty?
I had previously imported the certificate .pfx file into the Keystore in SoapUI, and entered the password in the Security Configuration tab (double click main project -> Security Configurations -> Keystores/Certificates) and verified that the Status is "OK". I have also set up Global Properties for "uid" and "pwd" - whether these help or not, I am not sure. Still works in SoapUI. Still no luck in LoadUI.
Resolution attempt #3: Error Entry
I routed the output from my SoapUI runner to a Table Log, and receive the following error:
"[[SOAP Response] error: The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got HTML, [SOAP Response] The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got HTML]"
So, as of now, still don't know what the issue is, and would greatly appreciate some assistance

Update: I have downloaded the LoadUI 1.0.2-SNAPSHOT and tried using that configuration.... same issue persists.