soapui

how can i make requests in a loop in soapUI with different content?

99封情书 提交于 2020-02-07 05:24:27
问题 I have a method as a request in soapUI. it transfers data to an online platform. i have different variables which are with different contet each time. is there a way how i can loop the request with different contet each time? i tried to somehow connect the request to a groovy script in order to programm the loopthere but couldent figure out how to do it the goal is to have for example a cvs file where for example 100 addresses are saved. then have all the data tranfered. but all the data

Library conflict in SoapUI

半腔热情 提交于 2020-02-06 08:21:48
问题 My problem is simple : I created my own jar to use it in a groovy testSuite : My lib needs : bcpkix-jdk15on-1.49 and bcprov-ext-jdk15on-159 In the lib folder in my soapui path I have : bcprov-jdk15-1.46 So when I import my jar into a groovy script in soapUI, I get this error : java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z error at line: 7 Which is probably a conflict in bcprov library, is there a way to solve this ? 回答1:

SoapUI接口测试——构建测试集(测试套件)——test suite(类似于postman里面的集合)++++++创建测试用例——test case——以及检查点(断言)设置

给你一囗甜甜゛ 提交于 2020-02-05 23:44:13
在前面上一章的基础上: 创建测试用例Test case,选择测试套件“用例集合”右键点击“New TestCase”,如下图所示: 创建好之后,新建的TestCase中包含三个部分: 测试步骤:Test Steos 负载测试:Load Tests 安全测试:Security Tests 把请求添加到测试用例中:选择一个请求,然后右键点击“Add to TestCase”,然后在弹出窗口中选择我们刚才新建的"用例集合"即可,如下图所示: 执行操作后,就已经创建好了一条测试用例,如下图所示: .运行测试:打开TestCase窗口,点击绿色运行按钮即可,绿色表示运行成功,运行结果在右面板下方,如下图所示: 增加检查点 ①在测试步骤中打开服务求请求,如下图所示: ②点击+号,添加检查点,选择Recently used>Contains>Add,如下图所示: ③输入检查的内容,如下图所示: ④然后运行服务请求,在“Assertions”窗口中可以看到“Contains - VALID”说明检查点是有效的,如下图所示: 来源: https://www.cnblogs.com/xiaobaibailongma/p/12267132.html

SoapUI接口测试——全流程转载

限于喜欢 提交于 2020-02-05 23:39:23
转载:本文仅代表作者观点,系作者@温一壶清酒发表。欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。文章出处:http://www.cnblogs.com/hong-fithing/ SoapUI简介 SoapUI是一个开源测试工具,通过soap/http来检查、调用、实现Web Service的功能/负载/符合性测试。该工具既可作为一个单独的测试软件使用,也可利用插件集成到Eclipse,maven2.X,Netbeans 和intellij中使用。 SoapUI是一个自由和开放源码的跨平台功能测试解决方案。通过一个易于使用的图形界面和企业级功能,SoapUI让您轻松, 快速创建和执行自动化功能、回归、合规和负载测试。在一个测试环境,SoapUI提供完整的测试覆盖,并支持所有的标准协议和技术。 SoapUI 基于Java 开发,支持多个平台,安装非常简单。 SoapUI下载地址: https://www.soapui.org/ ,下载开源版SoapUI,SoapUI Pro 是 SoapUI 的商业非开源版本 入门实例解析 使用的接口实例是 中国电视节目表 WEB服务 WSDL 地址: http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx?wsdl

org.openqa.selenium.os.OsProcess checkForError and org.apache.commons.exec.ExecuteException: Process exited with an error with Selenium ChromeDriver

﹥>﹥吖頭↗ 提交于 2020-01-30 08:14:26
问题 I'm trying to run soapui in headless mode on linux (works from windows) but when initiating the webdriver portion it seems that chrome doesnt see the driver has started. This is not even the same OS as "OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application" while starting Internet Explorer through Java and Selenium i've tried version 74 and 73 of both chrome and driver. i've tried adding all the selenium jars that come with the server and language bindings to

org.openqa.selenium.os.OsProcess checkForError and org.apache.commons.exec.ExecuteException: Process exited with an error with Selenium ChromeDriver

我是研究僧i 提交于 2020-01-30 08:14:11
问题 I'm trying to run soapui in headless mode on linux (works from windows) but when initiating the webdriver portion it seems that chrome doesnt see the driver has started. This is not even the same OS as "OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application" while starting Internet Explorer through Java and Selenium i've tried version 74 and 73 of both chrome and driver. i've tried adding all the selenium jars that come with the server and language bindings to

How to check for NOT this number in SoapUI Assertion

邮差的信 提交于 2020-01-25 11:50:07
问题 I am writing some Soap UI tests and am trying to figure out if there is a way with regular expressions to check for a string that does not contain a specific number. In this one case I want to make sure that when I get a response that my recordCount field DOES NOT contain 0. I thought this might be easier but while I can see a way to check for a set of numbers the regular expression for not this doesn't seem to work. Probably only detects characters and not numbers. My XML contains this:

Using string builder to place XML in single csv/xls column not working

北城以北 提交于 2020-01-25 08:14:45
问题 I am having an issue with an XML response and formatting it into CSV which can then later be opened as an XLS and see the entire response into a single cell. I know.. its not how I would do it either, but they get what they ask for. So far I have tried to use a string builder. This has been successful in formatting the response into a single line string, I have tested this by writing it to a text file and copying it to Eclipse.. when I place single quotes around the XML it turns to a string.

SOAPUI DateFormat error

馋奶兔 提交于 2020-01-24 09:55:48
问题 I am new here, sorry if I make any mistake posting my question. I am using SOAPUI to test a web service. Inside the Soap message, I need to add an StartDate and EndDate but I am getting as a error (Input string was not in a correct format) I been trying several DateFormat that I found over the internet by I still getting the same error. Here you have the SOAPUI parameters. Thanks <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">

SOAPUI DateFormat error

…衆ロ難τιáo~ 提交于 2020-01-24 09:55:06
问题 I am new here, sorry if I make any mistake posting my question. I am using SOAPUI to test a web service. Inside the Soap message, I need to add an StartDate and EndDate but I am getting as a error (Input string was not in a correct format) I been trying several DateFormat that I found over the internet by I still getting the same error. Here you have the SOAPUI parameters. Thanks <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">