Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 31 March 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 10.063s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-03-31 22:59:08 |

2021-03-31 22:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:08 | ------------------------------------

2021-03-31 22:59:08 | [Mutex] waiting for: [configured:node:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:node-428b4739-40cc-4c84-9178-64a2d42f34f0]

2021-03-31 22:59:08 | [Mutex] received everything.

2021-03-31 22:59:08 | [Mutex] isItemNotified: configured:node:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:node-428b4739-40cc-4c84-9178-64a2d42f34f0 :: true

2021-03-31 22:59:09 | [Mutex] waiting for: [received:nodes:98c83758-86e9-421e-bd4b-89c7eebe1516:localhost]

2021-03-31 22:59:09 | [Mutex] received everything.

2021-03-31 22:59:09 | [Mutex] isItemNotified: received:node:98c83758-86e9-421e-bd4b-89c7eebe1516:localhost:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820 :: true

2021-03-31 22:59:09 | [Mutex] waiting for: [received:nodes:6a096af5-ca18-4f34-a673-a971bf6e405f:localhost]

2021-03-31 22:59:09 | [Mutex] received everything.

2021-03-31 22:59:09 | [Mutex] isItemNotified: received:node:6a096af5-ca18-4f34-a673-a971bf6e405f:localhost:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820 :: false

createNodes 1.446s
2021-03-31 22:59:06 |

2021-03-31 22:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:06 | ------------------------------------

2021-03-31 22:59:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820</title></pubsub></data>

2021-03-31 22:59:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:59:07 | [Mutex] waiting for: [received:nodes:44907869-a8e7-4d5c-a538-11592737fca4:localhost]

2021-03-31 22:59:07 | [Mutex] received everything.

2021-03-31 22:59:07 | [Mutex] isItemNotified: received:node:44907869-a8e7-4d5c-a538-11592737fca4:localhost:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820 :: true

createSubnodes 1.027s
2021-03-31 22:59:07 |

2021-03-31 22:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:07 | ------------------------------------

2021-03-31 22:59:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-428b4739-40cc-4c84-9178-64a2d42f34f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 428b4739-40cc-4c84-9178-64a2d42f34f0</title></pubsub></data>

2021-03-31 22:59:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:59:08 | [Mutex] waiting for: [received:nodes:f5179ad1-fff3-4714-8ba5-d27ef8c3f4ec:localhost]

2021-03-31 22:59:08 | [Mutex] received everything.

2021-03-31 22:59:08 | [Mutex] isItemNotified: received:node:f5179ad1-fff3-4714-8ba5-d27ef8c3f4ec:localhost:node-428b4739-40cc-4c84-9178-64a2d42f34f0:Node 428b4739-40cc-4c84-9178-64a2d42f34f0 :: true

deleteNodes 1.021s
2021-03-31 22:59:14 |

2021-03-31 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:14 | ------------------------------------

2021-03-31 22:59:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-428b4739-40cc-4c84-9178-64a2d42f34f0</node></data>

2021-03-31 22:59:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:59:15 | [Mutex] waiting for: [received:nodes:33885e7c-7586-4985-a6a0-99170ec89058:localhost]

2021-03-31 22:59:15 | [Mutex] waiting for: [received:nodes:33885e7c-7586-4985-a6a0-99170ec89058:localhost]

2021-03-31 22:59:15 | [Mutex] received everything.

2021-03-31 22:59:15 | [Mutex] isItemNotified: received:node:33885e7c-7586-4985-a6a0-99170ec89058:localhost:node-428b4739-40cc-4c84-9178-64a2d42f34f0:Node 428b4739-40cc-4c84-9178-64a2d42f34f0 :: false

deleteSubnodes 1.139s
2021-03-31 22:59:13 |

2021-03-31 22:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:13 | ------------------------------------

2021-03-31 22:59:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node></data>

2021-03-31 22:59:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:59:14 | [Mutex] waiting for: [received:nodes:665cc926-ee67-438f-bcf7-363ac6a16be0:localhost]

2021-03-31 22:59:14 | [Mutex] received everything.

2021-03-31 22:59:14 | [Mutex] isItemNotified: received:node:665cc926-ee67-438f-bcf7-363ac6a16be0:localhost:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820 :: false

2021-03-31 22:59:14 | [Mutex] waiting for: [received:nodes:06dfdc16-dd69-45c2-89be-19077d5e9994:localhost]

2021-03-31 22:59:14 | [Mutex] received everything.

2021-03-31 22:59:14 | [Mutex] isItemNotified: received:node:06dfdc16-dd69-45c2-89be-19077d5e9994:localhost:node-7a53a5d6-2353-41a5-a1c6-af8b7605d820:Node 7a53a5d6-2353-41a5-a1c6-af8b7605d820 :: false

publishItemsToNodes 0.260s
2021-03-31 22:59:11 |

2021-03-31 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:11 | ------------------------------------

2021-03-31 22:59:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><item-id>item-946797a8-25a7-41ca-9aa1-befa63edc907</item-id><entry><test>item-946797a8-25a7-41ca-9aa1-befa63edc907</test></entry></data>

2021-03-31 22:59:11 | 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-946797a8-25a7-41ca-9aa1-befa63edc907</value></item-id></result>

2021-03-31 22:59:11 | [Mutex] received everything.

2021-03-31 22:59:11 | [Mutex] isItemNotified: published:item:notifieditem-946797a8-25a7-41ca-9aa1-befa63edc907:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2021-03-31 22:59:11 |

2021-03-31 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:11 | ------------------------------------

2021-03-31 22:59:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><item-id>item-946797a8-25a7-41ca-9aa1-befa63edc907</item-id></data>

2021-03-31 22:59:12 | 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-946797a8-25a7-41ca-9aa1-befa63edc907</value></item-id></result>

2021-03-31 22:59:12 | [Mutex] received everything.

2021-03-31 22:59:12 | [Mutex] isItemNotified: retracted:item:notifieditem-946797a8-25a7-41ca-9aa1-befa63edc907:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2021-03-31 22:59:11 |

2021-03-31 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:11 | ------------------------------------

2021-03-31 22:59:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><item-id>item-946797a8-25a7-41ca-9aa1-befa63edc907</item-id></data>

2021-03-31 22:59:11 | 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-7a53a5d6-2353-41a5-a1c6-af8b7605d820</value></node><item-id type="text-single" label="Item ID"><value>item-946797a8-25a7-41ca-9aa1-befa63edc907</value></item-id><item type="text-multi" label="Item"><value><item id="item-946797a8-25a7-41ca-9aa1-befa63edc907"><test>item-946797a8-25a7-41ca-9aa1-befa63edc907</test></item></value></item></result>

2021-03-31 22:59:11 | [Mutex] notify: [retrieved:item:item-946797a8-25a7-41ca-9aa1-befa63edc907:payload-matches:true:localhost]

2021-03-31 22:59:11 | [Mutex] received everything.

2021-03-31 22:59:11 | [Mutex] isItemNotified: retrieved:item:item-946797a8-25a7-41ca-9aa1-befa63edc907:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-03-31 22:59:11 |

2021-03-31 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:11 | ------------------------------------

2021-03-31 22:59:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-31 22:59:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</value><value>test</value><value>node-428b4739-40cc-4c84-9178-64a2d42f34f0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-31 22:59:11 |

2021-03-31 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:11 | ------------------------------------

2021-03-31 22:59:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a53a5d6-2353-41a5-a1c6-af8b7605d820)</node-pattern></data>

2021-03-31 22:59:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.148s
2021-03-31 22:59:09 |

2021-03-31 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:09 | ------------------------------------

2021-03-31 22:59:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 22:59:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.339s
2021-03-31 22:59:12 |

2021-03-31 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:59:12 | ------------------------------------

2021-03-31 22:59:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a53a5d6-2353-41a5-a1c6-af8b7605d820</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 22:59:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>