Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 06 September 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.654s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.140s
2022-09-06 23:02:07 |

2022-09-06 23:02:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:07 | ------------------------------------

2022-09-06 23:02:07 | [Mutex] waiting for: [configured:node:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:node-85f0cd5b-4086-45f3-9b62-4c526352aadf]

2022-09-06 23:02:07 | [Mutex] received everything.

2022-09-06 23:02:07 | [Mutex] isItemNotified: configured:node:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:node-85f0cd5b-4086-45f3-9b62-4c526352aadf :: true

2022-09-06 23:02:08 | [Mutex] waiting for: [received:nodes:d55c64be-01ca-4743-b879-370c61ebad9b:localhost]

2022-09-06 23:02:08 | [Mutex] received everything.

2022-09-06 23:02:08 | [Mutex] isItemNotified: received:node:d55c64be-01ca-4743-b879-370c61ebad9b:localhost:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:Node 5d630b48-d613-4aea-b5e4-b3519f30ada7 :: true

2022-09-06 23:02:08 | [Mutex] waiting for: [received:nodes:a15167a3-5512-4e6c-b126-a63a48511eeb:localhost]

2022-09-06 23:02:08 | [Mutex] received everything.

2022-09-06 23:02:08 | [Mutex] isItemNotified: received:node:a15167a3-5512-4e6c-b126-a63a48511eeb:localhost:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:Node 5d630b48-d613-4aea-b5e4-b3519f30ada7 :: false

createNodes 1.371s
2022-09-06 23:02:04 |

2022-09-06 23:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:04 | ------------------------------------

2022-09-06 23:02:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5d630b48-d613-4aea-b5e4-b3519f30ada7</title></pubsub></data>

2022-09-06 23:02:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:02:06 | [Mutex] waiting for: [received:nodes:b207e9be-a237-412a-8032-fcbd12e9b9a8:localhost]

2022-09-06 23:02:06 | [Mutex] received everything.

2022-09-06 23:02:06 | [Mutex] isItemNotified: received:node:b207e9be-a237-412a-8032-fcbd12e9b9a8:localhost:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:Node 5d630b48-d613-4aea-b5e4-b3519f30ada7 :: true

createSubnodes 1.022s
2022-09-06 23:02:06 |

2022-09-06 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:06 | ------------------------------------

2022-09-06 23:02:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85f0cd5b-4086-45f3-9b62-4c526352aadf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 85f0cd5b-4086-45f3-9b62-4c526352aadf</title></pubsub></data>

2022-09-06 23:02:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:02:07 | [Mutex] waiting for: [received:nodes:8c39c01c-302f-43c1-9fd1-ec1f204d07c7:localhost]

2022-09-06 23:02:07 | [Mutex] waiting for: [received:nodes:8c39c01c-302f-43c1-9fd1-ec1f204d07c7:localhost]

2022-09-06 23:02:07 | [Mutex] received everything.

2022-09-06 23:02:07 | [Mutex] isItemNotified: received:node:8c39c01c-302f-43c1-9fd1-ec1f204d07c7:localhost:node-85f0cd5b-4086-45f3-9b62-4c526352aadf:Node 85f0cd5b-4086-45f3-9b62-4c526352aadf :: true

deleteNodes 1.022s
2022-09-06 23:02:12 |

2022-09-06 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:12 | ------------------------------------

2022-09-06 23:02:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85f0cd5b-4086-45f3-9b62-4c526352aadf</node></data>

2022-09-06 23:02:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:02:13 | [Mutex] waiting for: [received:nodes:6ef1af6a-fa0a-476b-86e4-6b421b694f2d:localhost]

2022-09-06 23:02:13 | [Mutex] received everything.

2022-09-06 23:02:13 | [Mutex] isItemNotified: received:node:6ef1af6a-fa0a-476b-86e4-6b421b694f2d:localhost:node-85f0cd5b-4086-45f3-9b62-4c526352aadf:Node 85f0cd5b-4086-45f3-9b62-4c526352aadf :: false

deleteSubnodes 1.139s
2022-09-06 23:02:11 |

2022-09-06 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:11 | ------------------------------------

2022-09-06 23:02:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node></data>

2022-09-06 23:02:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-06 23:02:12 | [Mutex] waiting for: [received:nodes:fb429d56-0ec6-4299-954d-c98596171ba7:localhost]

2022-09-06 23:02:12 | [Mutex] waiting for: [received:nodes:fb429d56-0ec6-4299-954d-c98596171ba7:localhost]

2022-09-06 23:02:12 | [Mutex] waiting for: [received:nodes:fb429d56-0ec6-4299-954d-c98596171ba7:localhost]

2022-09-06 23:02:12 | [Mutex] received everything.

2022-09-06 23:02:12 | [Mutex] isItemNotified: received:node:fb429d56-0ec6-4299-954d-c98596171ba7:localhost:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:Node 5d630b48-d613-4aea-b5e4-b3519f30ada7 :: false

2022-09-06 23:02:12 | [Mutex] waiting for: [received:nodes:ce0214ae-f4c2-4ded-94b0-b5485efa4cbd:localhost]

2022-09-06 23:02:12 | [Mutex] received everything.

2022-09-06 23:02:12 | [Mutex] isItemNotified: received:node:ce0214ae-f4c2-4ded-94b0-b5485efa4cbd:localhost:node-5d630b48-d613-4aea-b5e4-b3519f30ada7:Node 5d630b48-d613-4aea-b5e4-b3519f30ada7 :: false

publishItemsToNodes 0.265s
2022-09-06 23:02:09 |

2022-09-06 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:09 | ------------------------------------

2022-09-06 23:02:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><item-id>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</item-id><entry><test>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</test></entry></data>

2022-09-06 23:02:09 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</value></item-id></result>

2022-09-06 23:02:09 | [Mutex] waiting for: [published:item:notifieditem-a52c02ba-52c1-4c45-8f28-01be413f8a57:admin@test-domain.com]

2022-09-06 23:02:09 | [Mutex] received everything.

2022-09-06 23:02:09 | [Mutex] isItemNotified: published:item:notifieditem-a52c02ba-52c1-4c45-8f28-01be413f8a57:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2022-09-06 23:02:10 |

2022-09-06 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:10 | ------------------------------------

2022-09-06 23:02:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><item-id>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</item-id></data>

2022-09-06 23:02:10 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</value></item-id></result>

2022-09-06 23:02:10 | [Mutex] received everything.

2022-09-06 23:02:10 | [Mutex] isItemNotified: retracted:item:notifieditem-a52c02ba-52c1-4c45-8f28-01be413f8a57:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2022-09-06 23:02:09 |

2022-09-06 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:09 | ------------------------------------

2022-09-06 23:02:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><item-id>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</item-id></data>

2022-09-06 23:02:10 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</value></node><item-id type="text-single" label="Item ID"><value>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</value></item-id><item type="text-multi" label="Item"><value><item id="item-a52c02ba-52c1-4c45-8f28-01be413f8a57"><test>item-a52c02ba-52c1-4c45-8f28-01be413f8a57</test></item></value></item></result>

2022-09-06 23:02:10 | [Mutex] notify: [retrieved:item:item-a52c02ba-52c1-4c45-8f28-01be413f8a57:payload-matches:true:localhost]

2022-09-06 23:02:10 | [Mutex] received everything.

2022-09-06 23:02:10 | [Mutex] isItemNotified: retrieved:item:item-a52c02ba-52c1-4c45-8f28-01be413f8a57:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-09-06 23:02:10 |

2022-09-06 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:10 | ------------------------------------

2022-09-06 23:02:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-06 23:02:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</value><value>node-85f0cd5b-4086-45f3-9b62-4c526352aadf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-06 23:02:10 |

2022-09-06 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:10 | ------------------------------------

2022-09-06 23:02:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5d630b48-d613-4aea-b5e4-b3519f30ada7)</node-pattern></data>

2022-09-06 23:02:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.132s
2022-09-06 23:02:08 |

2022-09-06 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:08 | ------------------------------------

2022-09-06 23:02:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-06 23:02:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-09-06 23:02:10 |

2022-09-06 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-06 23:02:10 | ------------------------------------

2022-09-06 23:02:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5d630b48-d613-4aea-b5e4-b3519f30ada7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-06 23:02:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>