Generated by TestNG with ReportNG at 22:18 PDT on Monday 01 August 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.708s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-08-01 22:32:52 |

2022-08-01 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:52 | ------------------------------------

2022-08-01 22:32:52 | [Mutex] waiting for: [configured:node:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd]

2022-08-01 22:32:52 | [Mutex] received everything.

2022-08-01 22:32:52 | [Mutex] isItemNotified: configured:node:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd :: true

2022-08-01 22:32:53 | [Mutex] waiting for: [received:nodes:8dd858ca-34e1-4d61-92ee-5c7ce3e4c435:localhost]

2022-08-01 22:32:53 | [Mutex] received everything.

2022-08-01 22:32:53 | [Mutex] isItemNotified: received:node:8dd858ca-34e1-4d61-92ee-5c7ce3e4c435:localhost:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7 :: true

2022-08-01 22:32:53 | [Mutex] waiting for: [received:nodes:364ce74a-2fcf-4ead-b622-3dd74d911b58:localhost]

2022-08-01 22:32:53 | [Mutex] received everything.

2022-08-01 22:32:53 | [Mutex] isItemNotified: received:node:364ce74a-2fcf-4ead-b622-3dd74d911b58:localhost:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7 :: false

createNodes 1.441s
2022-08-01 22:32:50 |

2022-08-01 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:50 | ------------------------------------

2022-08-01 22:32:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7</title></pubsub></data>

2022-08-01 22:32:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-01 22:32:51 | [Mutex] waiting for: [received:nodes:b28cb41d-86ca-445a-abb2-406b84768df6:localhost]

2022-08-01 22:32:51 | [Mutex] waiting for: [received:nodes:b28cb41d-86ca-445a-abb2-406b84768df6:localhost]

2022-08-01 22:32:51 | [Mutex] received everything.

2022-08-01 22:32:51 | [Mutex] isItemNotified: received:node:b28cb41d-86ca-445a-abb2-406b84768df6:localhost:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7 :: true

createSubnodes 1.021s
2022-08-01 22:32:51 |

2022-08-01 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:51 | ------------------------------------

2022-08-01 22:32:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 878fdb3b-15eb-4c1e-ae66-8b9f924b44fd</title></pubsub></data>

2022-08-01 22:32:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-01 22:32:52 | [Mutex] waiting for: [received:nodes:92e6547a-0efc-4825-92b6-da066aea4813:localhost]

2022-08-01 22:32:52 | [Mutex] received everything.

2022-08-01 22:32:52 | [Mutex] isItemNotified: received:node:92e6547a-0efc-4825-92b6-da066aea4813:localhost:node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd:Node 878fdb3b-15eb-4c1e-ae66-8b9f924b44fd :: true

deleteNodes 1.016s
2022-08-01 22:32:58 |

2022-08-01 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:58 | ------------------------------------

2022-08-01 22:32:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd</node></data>

2022-08-01 22:32:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-01 22:32:59 | [Mutex] waiting for: [received:nodes:26bf011d-e196-4b39-bf6a-942447d9dc61:localhost]

2022-08-01 22:32:59 | [Mutex] received everything.

2022-08-01 22:32:59 | [Mutex] isItemNotified: received:node:26bf011d-e196-4b39-bf6a-942447d9dc61:localhost:node-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd:Node 878fdb3b-15eb-4c1e-ae66-8b9f924b44fd :: false

deleteSubnodes 1.153s
2022-08-01 22:32:56 |

2022-08-01 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:56 | ------------------------------------

2022-08-01 22:32:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node></data>

2022-08-01 22:32:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-01 22:32:58 | [Mutex] waiting for: [received:nodes:647021d5-386f-49e1-bd57-9c985c8f1a5e:localhost]

2022-08-01 22:32:58 | [Mutex] received everything.

2022-08-01 22:32:58 | [Mutex] isItemNotified: received:node:647021d5-386f-49e1-bd57-9c985c8f1a5e:localhost:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7 :: false

2022-08-01 22:32:58 | [Mutex] waiting for: [received:nodes:9f27d431-60a1-4569-be27-e17d5b24723d:localhost]

2022-08-01 22:32:58 | [Mutex] received everything.

2022-08-01 22:32:58 | [Mutex] isItemNotified: received:node:9f27d431-60a1-4569-be27-e17d5b24723d:localhost:node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7:Node ba9774b9-eb8b-4922-9d4d-986fc0db09e7 :: false

publishItemsToNodes 0.232s
2022-08-01 22:32:54 |

2022-08-01 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:54 | ------------------------------------

2022-08-01 22:32:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><item-id>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</item-id><entry><test>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</test></entry></data>

2022-08-01 22:32:55 | 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-eff184bf-e31b-4fcb-a000-03b13c7d6a33</value></item-id></result>

2022-08-01 22:32:55 | [Mutex] received everything.

2022-08-01 22:32:55 | [Mutex] isItemNotified: published:item:notifieditem-eff184bf-e31b-4fcb-a000-03b13c7d6a33:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2022-08-01 22:32:55 |

2022-08-01 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:55 | ------------------------------------

2022-08-01 22:32:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><item-id>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</item-id></data>

2022-08-01 22:32:55 | 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-eff184bf-e31b-4fcb-a000-03b13c7d6a33</value></item-id></result>

2022-08-01 22:32:55 | [Mutex] waiting for: [retracted:item:notifieditem-eff184bf-e31b-4fcb-a000-03b13c7d6a33:admin@test-domain.com]

2022-08-01 22:32:55 | [Mutex] received everything.

2022-08-01 22:32:55 | [Mutex] isItemNotified: retracted:item:notifieditem-eff184bf-e31b-4fcb-a000-03b13c7d6a33:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2022-08-01 22:32:55 |

2022-08-01 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:55 | ------------------------------------

2022-08-01 22:32:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><item-id>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</item-id></data>

2022-08-01 22:32:55 | 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-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</value></node><item-id type="text-single" label="Item ID"><value>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</value></item-id><item type="text-multi" label="Item"><value><item id="item-eff184bf-e31b-4fcb-a000-03b13c7d6a33"><test>item-eff184bf-e31b-4fcb-a000-03b13c7d6a33</test></item></value></item></result>

2022-08-01 22:32:55 | [Mutex] notify: [retrieved:item:item-eff184bf-e31b-4fcb-a000-03b13c7d6a33:payload-matches:true:localhost]

2022-08-01 22:32:55 | [Mutex] received everything.

2022-08-01 22:32:55 | [Mutex] isItemNotified: retrieved:item:item-eff184bf-e31b-4fcb-a000-03b13c7d6a33:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-01 22:32:55 |

2022-08-01 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:55 | ------------------------------------

2022-08-01 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-01 22:32:55 | 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-878fdb3b-15eb-4c1e-ae66-8b9f924b44fd</value><value>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-01 22:32:55 |

2022-08-01 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:55 | ------------------------------------

2022-08-01 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7)</node-pattern></data>

2022-08-01 22:32:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.134s
2022-08-01 22:32:53 |

2022-08-01 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:53 | ------------------------------------

2022-08-01 22:32:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-01 22:32:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.240s
2022-08-01 22:32:55 |

2022-08-01 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 22:32:55 | ------------------------------------

2022-08-01 22:32:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ba9774b9-eb8b-4922-9d4d-986fc0db09e7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-01 22:32:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>