Skip to content

Commit

Permalink
Update to_jmx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pactortester authored Oct 7, 2021
1 parent 4c448c7 commit e54a287
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions swaggerjmx/to_jmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,11 @@ def arguments(parent_xml):
Arguments.set("enabled", "true")
collectionProp = etree.SubElement(Arguments, "collectionProp")
collectionProp.set("name", "Arguments.arguments")
# elementProp = etree.SubElement(Arguments, "elementProp")
# # common_api(elementProp,
# # {"name": "ThreadGroup.main_controller", "elementType": "LoopController", "guiclass": "LoopControlPanel",
# # "testclass": "LoopController", "testname": "Loop Controller", "enabled": "true"})
# collectionProp.set("name", "Argument.name")
# collectionProp.text = '${baseUrl}'
# collectionProp = etree.SubElement(elementProp, "stringProp")
# collectionProp.set("name", "Argument.value")
# collectionProp.text = '1'
# elementProp = etree.SubElement(Arguments, "elementProp") # common_api(elementProp, # {"name":
# "ThreadGroup.main_controller", "elementType": "LoopController", "guiclass": "LoopControlPanel", #
# "testclass": "LoopController", "testname": "Loop Controller", "enabled": "true"}) collectionProp.set("name",
# "Argument.name") collectionProp.text = '${baseUrl}' collectionProp = etree.SubElement(elementProp,
# "stringProp") collectionProp.set("name", "Argument.value") collectionProp.text = '1'
return etree.SubElement(parent_xml, "hashTree")


Expand Down

0 comments on commit e54a287

Please sign in to comment.