jenkins - 当我将soapui与jenkins集成时,SoapUI XML文件出现错误
问题描述
错误消息:/root/.jenkins/workspace/soapui-project/build.xml:2:根元素之前的文档中的标记必须格式正确。
当我在 Jenkins 上构建此代码时会显示此错误消息。这是我的 XML soapUI 文件的一小部分。
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project xmlns:con="http://eviware.com/soapui/config"
id="1c7cb62d-1a4f-4ac0-bf3b-8ffd21730d51"
activeEnvironment="Default"
name="build"
resourceRoot=""
soapui-version="5.4.0"
abortOnError="false"
runType="SEQUENTIAL"
updated="2.2.0 2017-11-28T12:17:25Z">
<con:settings>
<con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local">
<![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Environment" value="Default"/>
<con:entry key="Global Properties" value=""/>
<con:entry key="TestSuite" value="getAttackCounts"/>
<con:entry key="Password" value=""/>
<con:entry key="TestRunner Path" value=""/>
<con:entry key="Tool Args" value=""/>
<con:entry key="Ignore Errors" value="false"/>
<con:entry key="Host:Port" value=""/>
<con:entry key="user-settings.xml Password" value=""/>
<con:entry key="WSS Password Type" value=""/>
<con:entry key="Save Project" value="false"/>
<con:entry key="Enable UI" value="false"/>
<con:entry key="System Properties" value=""/>
<con:entry key="Domain" value=""/>
<con:entry key="Coverage Report" value="false"/>
<con:entry key="Export JUnit Results" value="false"/>
<con:entry key="Export JUnit Results with test properties" value="false"/>
<con:entry key="Open Report" value="false"/>
<con:entry key="Project Properties" value=""/>
<con:entry key="Export All" value="false"/>
<con:entry key="Project Password" value=""/>
<con:entry key="Report Format(s)" value=""/>
<con:entry key="TestCase" value="getCounts"/>
<con:entry key="Print Report" value="false"/>
<con:entry key="Username" value=""/>
<con:entry key="Root Folder" value=""/>
<con:entry key="Select Report Type" value=""/>
<con:entry key="Save After" value="false"/>
<con:entry key="Add Settings" value="false"/>
<con:entry key="Endpoint" value="http://172.20.16.98"/>
</xml-fragment>]]></con:setting>
解决方案
推荐阅读
- jquery - 语义 UI 多模态有效,但以前的模态已关闭
- kubernetes - 应用程序未在 WSO2 API 管理器 3.2.0 Kubernetes 设置中的 devportal 中加载
- python - 如何使用pyinstaller制作exe文件连接SQL Server并导出excel文件?
- python - 用 Pandas 中每个组中的特定值替换整个列
- java - 从两个日期起没有得到有效的月数
- javascript - 将鼠标设置为水平滚动后,我想在 React 中垂直滚动
- c# - 如何使用 datetimepicker c# 仅在 access 数据库中搜索月和日的两个日期
- nginx - 两个站点的 Nginx pass_proxy 配置错误
- c# - 是否可以在单击移动视图的按钮时显示键盘
- apache-spark - 为什么堆栈函数仅在 selectExpr 中有效,而在 select 中无效