Skip to content

Add sample xml #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions spring-boot-xml/naive-spring-boot/keploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Generated by Keploy (2-dev)
path: ""
appId: 0
appName: naive-spring-boot
command: java -jar target/XML-0.0.1-SNAPSHOT.jar
templatize:
testSets: []
port: 0
e2e: false
dnsPort: 26789
proxyPort: 16789
debug: false
disableTele: false
disableANSI: false
containerName: ""
networkName: ""
buildDelay: 30
test:
selectedTests: {}
globalNoise:
global: {
header.Date: [],
body: {
# To ignore some values for a field, pass regex patterns to the corresponding array value
"UserList": [],
}
}
test-sets: {}
delay: 5
host: ""
port: 0
apiTimeout: 5
skipCoverage: false
coverageReportPath: ""
ignoreOrdering: true
mongoPassword: default@123
language: ""
removeUnusedMocks: false
fallBackOnMiss: false
jacocoAgentPath: ""
basePath: ""
mocking: true
ignoredTests: {}
disableLineCoverage: false
disableMockUpload: true
useLocalMock: false
updateTemplate: false
record:
filters: []
baseUrl: ""
recordTimer: 0s
configPath: ""
bypassRules: []
generateGithubActions: false
keployContainer: keploy-v2
keployNetwork: keploy-network
cmdType: native
contract:
services: []
tests: []
path: ""
download: false
generate: false
driven: consumer
mappings:
servicesMapping: {}
self: s1
inCi: false

# Visit [https://keploy.io/docs/running-keploy/configuration-file/] to learn about using keploy through configration file.
2 changes: 2 additions & 0 deletions spring-boot-xml/naive-spring-boot/keploy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

/reports/
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Generated by Keploy (2-dev)
version: api.keploy.io/v1beta1
kind: Http
name: test-1
spec:
metadata: {}
req:
method: GET
proto_major: 1
proto_minor: 1
url: http://localhost:8080/api/user
header:
Accept: application/xml
Host: localhost:8080
User-Agent: curl/7.88.1
body: ""
timestamp: 2025-03-06T15:41:11.988665142+05:30
resp:
body:
User:
age: "30"
mobile: "0101233333"
name: John Does
status_code: 200
header:
Content-Type: application/xml
Date: Thu, 06 Mar 2025 10:11:12 GMT
status_message: OK
proto_major: 0
proto_minor: 0
timestamp: 2025-03-06T15:41:15.041036767+05:30
objects: []
assertions:
noise:
header.Date: []
created: 1741255875
curl: |
curl --request GET \
--url http://localhost:8080/api/user \
--header 'Accept: application/xml' \
--header 'Host: localhost:8080' \
--header 'User-Agent: curl/7.88.1' \
respType: xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Generated by Keploy (2-dev)
version: api.keploy.io/v1beta1
kind: Http
name: test-2
spec:
metadata: {}
req:
method: GET
proto_major: 1
proto_minor: 1
url: http://localhost:8080/api/user
header:
Accept: application/xml
Host: localhost:8080
User-Agent: curl/7.88.1
body: ""
timestamp: 2025-03-06T15:41:16.64255575+05:30
resp:
body:
User:
age: "30"
mobile: "0101233333"
name: John Doe
status_code: 200
header:
Content-Type: application/xml
Date: Thu, 06 Mar 2025 10:11:16 GMT
status_message: OK
proto_major: 0
proto_minor: 0
timestamp: 2025-03-06T15:41:19.740844643+05:30
objects: []
assertions:
noise:
header.Date: []
created: 1741255879
curl: |
curl --request GET \
--url http://localhost:8080/api/user \
--header 'Accept: application/xml' \
--header 'Host: localhost:8080' \
--header 'User-Agent: curl/7.88.1' \
respType: xml
Loading