-
Notifications
You must be signed in to change notification settings - Fork 2
Develop #77
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
base: master
Are you sure you want to change the base?
Develop #77
Changes from all commits
8c0a689
f42fcad
ed56488
2b11f31
1f74b77
d1e5e5b
84059ed
291bfe8
2a6bef1
1bd0269
d8c709b
43a1510
31001ec
020d3dc
b6b800a
0709af4
2d4efec
9d74ecc
6f34ef8
7616d5c
30f4ddf
5abb19f
4a11a6c
f694823
82fd4ac
442f081
95f3962
b494d21
828ba5b
c26f592
1480c28
a1525cd
69ea9e4
f74a40a
20a3080
c952cd5
bd723d4
d9df638
6dc14f1
6c3e73b
722b44b
19e3712
f8f37d0
4fe0e12
1faec0e
63c014f
a73a783
1630bda
fc25aa4
55cc123
4defedc
b3e2318
6cefca5
eeaa7e9
5a1b7db
dcf8826
4567cce
3280fba
89ad72b
6573cf2
2b63d13
deee89a
8fc0746
21ca861
e474e32
1c9762e
58cc2fa
34899f4
ad16cec
ca64f04
4835ec8
0044ec3
20666c1
4f95a02
e32087b
b908807
3b3645c
9fda3c7
b0d938a
7e51977
c32cac6
7d86cb4
0532093
4ee17c5
ca40686
3f7944b
bd985e1
8399447
d98bb84
00f1a4b
c70db7c
52a7f52
a34fadc
64e9504
b844cab
a153b8d
d797838
28272e3
e8825d7
1352adc
629a102
8892cf3
6520e58
d80ddf7
8ee284d
53b56bf
8e1c191
b789e7d
7c48afb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,20 @@ | ||
|
|
||
| config/*.xml | ||
| !config/config.xml | ||
| *.iml | ||
| .idea | ||
| ui/ | ||
| automated-perf-test | ||
| uiServices/test/*.xml | ||
| *.bak | ||
| main | ||
| .idea | ||
| ui/ | ||
| **/node_modules | ||
| /.editorconfig | ||
| /.editorconfig | ||
| config/*.xml | ||
| !config/config.xml | ||
| *.iml | ||
| .idea | ||
| ui/ | ||
| automated-perf-test | ||
| uiServices/test/*.xml | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,23 +50,23 @@ type ResponseValue struct { | |
|
|
||
| // TestDefinition encapsulates the XML data. | ||
| type TestDefinition struct { | ||
| XMLName xml.Name `xml:"testDefinition" json:"testDefinition"` | ||
| TestName string `xml:"testName" json:"testName"` | ||
| OverrideHost string `xml:"overrideHost" json:"overrideHost"` | ||
| OverridePort string `xml:"overridePort" json:"overridePort"` | ||
| HTTPMethod string `xml:"httpMethod" json:"httpMethod"` | ||
| Description string `xml:"description" json:"description"` | ||
| BaseURI string `xml:"baseUri" json:"baseUri"` | ||
| Multipart bool `xml:"multipart" json:"multipart"` | ||
| Payload string `xml:"payload" json:"payload"` | ||
| MultipartPayload []multipartFormField `xml:"multipartPayload>multipartFormField" json:"multipartPayload"` | ||
| ResponseStatusCode int `xml:"responseStatusCode" json:"responseStatusCode"` | ||
| ResponseContentType string `xml:"responseContentType" json:"responseContentType"` | ||
| Headers []Header `xml:"headers>header" json:"headers"` | ||
| ResponseValues []ResponseValue `xml:"responseProperties>value" json:"responseValues"` | ||
| PreThinkTime int64 | ||
| PostThinkTime int64 | ||
| ExecWeight string | ||
| XMLName xml.Name `xml:"testDefinition"` | ||
| TestName string `xml:"testName"` | ||
| OverrideHost string `xml:"overrideHost"` | ||
| OverridePort string `xml:"overridePort"` | ||
| HTTPMethod string `xml:"httpMethod"` | ||
| Description string `xml:"description"` | ||
| BaseURI string `xml:"baseUri"` | ||
| Multipart bool `xml:"multipart"` | ||
| Payload string `xml:"payload"` | ||
| MultipartPayload []multipartFormField `xml:"multipartPayload>multipartFormField"` | ||
| ResponseStatusCode int `xml:"responseStatusCode"` | ||
| ResponseContentType string `xml:"responseContentType"` | ||
| Headers []Header `xml:"headers>header"` | ||
| ResponseValues []ResponseValue `xml:"responseProperties>value"` | ||
| PreThinkTime int64 `xml:"preThinkTime"` | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need to expose these to be unmarshalled into the XML config/defs files |
||
| PostThinkTime int64 `xml:"postThinkTime"` | ||
| ExecWeight string `xml:"execWeight"` | ||
| } | ||
|
|
||
| // TestSuite fields get populated from the TestSuiteDefinition after the XML | ||
|
|
@@ -75,17 +75,18 @@ type TestSuite struct { | |
| XMLName xml.Name `xml:"testSuite"` | ||
| Name string `xml:"name" json:"name"` | ||
| Description string `xml:"description" json:"description"` | ||
| TestStrategy string `xml:"testStrategy" json:"testStrategy"` | ||
| TestCases []TestCase `xml:"testCases>testCase" json:"testCases"` | ||
| TestStrategy string `xml:"testStrategy"` | ||
| TestCases []TestCase `xml:"testCases>testCase"` | ||
| TestDefinitions []*TestDefinition | ||
| } | ||
|
|
||
| // TestCase is used to encapsulate and marshal a <testCase> tag from the | ||
| // <testSuite> XML file. This data will then be consolidated into | ||
| // the TestSuite/TestDefinition data structure for usage. | ||
| type TestCase struct { | ||
| XMLName xml.Name `xml:"testCase" json:"testCase"` | ||
| XMLName xml.Name `xml:"testCase"` | ||
| Name string `xml:",chardata"` | ||
| Description string `xml:"description,attr" json:"description"` | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think i remember hearing we didn't want to make this change |
||
| PreThinkTime int64 `xml:"preThinkTime,attr" json:"preThinkTime"` | ||
| PostThinkTime int64 `xml:"postThinkTime,attr" json:"postThinkTime"` | ||
| ExecWeight string `xml:"execWeight,attr" json:"execWeight"` | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also add