-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.xml
62 lines (58 loc) · 2.97 KB
/
settings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="cef766b1-d0c8-4880-b3a2-43fac00851d3" created="3.4.0" activeEnvironment="Default environment" name="READYAPI_GROOVY_PROJECT" resourceRoot="${projectDir}" compositeProjectFormat="1.3" updated="3.41.1" encryptionMode="Not encrypted" scriptLibrary="C:\GITHUB_REPOSITORY\PERSONAL\READYAPI_Automation\scripts" defaultScriptLanguage="Groovy" xmlns:con="http://eviware.com/soapui/config">
<con:settings>
<con:setting id="cef766b1-d0c8-4880-b3a2-43fac00851d3fileName">READYAPI_Automation</con:setting>
<con:setting id="ProjectSettings@hermesConfig">C:\Users\Ei06593/.hermes</con:setting>
<con:setting id="ProjectSettings@shadowPassword"/>
</con:settings>
<con:savedRecentRuns>1</con:savedRecentRuns>
<con:requirements/>
<con:properties/>
<con:wssContainer/>
<con:databaseConnectionContainer>
<con:databaseConnection>
<con:name>JDBC-Connection</con:name>
<con:driver>oracle.jdbc.driver.OracleDriver</con:driver>
<con:connectionString>sampleConnectionString</con:connectionString>
<con:connectionProperties/>
</con:databaseConnection>
</con:databaseConnectionContainer>
<con:jmsConnectionContainer>
<con:jmsConnection>
<con:name>http://127.0.0.1:8161/index.html</con:name>
<con:extraProperties/>
</con:jmsConnection>
</con:jmsConnectionContainer>
<con:oAuth2ProfileContainer/>
<con:oAuth1ProfileContainer/>
<con:beforeRunScript>def objProject = context.getProject()
def projPath = objProject.getPath()
objProject.setScriptLibrary(projPath + File.separator + "scripts")</con:beforeRunScript>
<con:eventHandlers type="RequestFilter.filterRequest" name="RequestFilter.filterRequest">
<con:script>// Sample event script to add custom HTTP header to all outgoing REST, SOAP and HTTP(S) calls
// This code is often used for adding custom authentication to ReadyAPI functional tests
// If hardcoding the token, uncomment and change line 5
// token = '4567'
// If your token is parameterized in Project level custom property, uncomment line 8
// token = request.parent.testCase.testSuite.project.getProperty('auth_token').getValue()
// To modify all outgoing calls, remove comments from lines 11 to 16
// headers = request.requestHeaders
// if (headers.containsKey('auth_token2') == false) {
// headers.put('auth_token2', token)
// request.requestHeaders = headers
// }</con:script>
</con:eventHandlers>
<con:eventHandlers type="TestRunListener.afterStep" name="TestRunListener.afterStep">
<con:script>// Save all test step results into files
// Change the directory path in line 5 to a location where you want to store details
// then uncomment lines 5 to 10
// filePath = 'C:\\tempOutputDirectory\\'
// fos = new java.io.FileOutputStream(filePath + testStepResult.testStep.label + '.txt', true)
// pw = new java.io.PrintWriter(fos)
// testStepResult.writeTo(pw)
// pw.close()
// fos.close()</con:script>
</con:eventHandlers>
<con:authRepository/>
<con:tags/>
</con:soapui-project>