-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPROJECT-UNDER-TEST-readyapi-project.xml
More file actions
45 lines (41 loc) · 1.91 KB
/
PROJECT-UNDER-TEST-readyapi-project.xml
File metadata and controls
45 lines (41 loc) · 1.91 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="6221363d-0a1d-49f7-bdc7-d768a9803688" created="3.8.1" activeEnvironment="Default environment" name="PROJECT_UNDER_TEST" updated="3.8.1 2021-05-25T17:56:21Z" xmlns:con="http://eviware.com/soapui/config">
<con:settings/>
<con:properties/>
<con:wssContainer/>
<con:databaseConnectionContainer/>
<con:jmsConnectionContainer/>
<con:oAuth2ProfileContainer/>
<con:oAuth1ProfileContainer/>
<con:reporting>
<con:xmlTemplates/>
<con:parameters/>
</con:reporting>
<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>