Generated by TestNG with ReportNG at 21:43 PST on Sunday 03 January 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 : 9.857s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-01-03 21:58:27 |

2021-01-03 21:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:27 | ------------------------------------

2021-01-03 21:58:27 | [Mutex] waiting for: [configured:node:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:node-f7b51289-6b5e-4481-9ee3-27e603c308e5]

2021-01-03 21:58:27 | [Mutex] received everything.

2021-01-03 21:58:27 | [Mutex] isItemNotified: configured:node:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:node-f7b51289-6b5e-4481-9ee3-27e603c308e5 :: true

2021-01-03 21:58:28 | [Mutex] waiting for: [received:nodes:1459b41d-9b2c-4c20-a364-a507c7c2bad7:localhost]

2021-01-03 21:58:28 | [Mutex] received everything.

2021-01-03 21:58:28 | [Mutex] isItemNotified: received:node:1459b41d-9b2c-4c20-a364-a507c7c2bad7:localhost:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:Node d9ef2e12-8480-415f-9810-8ce2f42c28a8 :: true

2021-01-03 21:58:28 | [Mutex] waiting for: [received:nodes:dd83ee33-5980-45fe-aa75-110349701073:localhost]

2021-01-03 21:58:28 | [Mutex] received everything.

2021-01-03 21:58:28 | [Mutex] isItemNotified: received:node:dd83ee33-5980-45fe-aa75-110349701073:localhost:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:Node d9ef2e12-8480-415f-9810-8ce2f42c28a8 :: false

createNodes 1.513s
2021-01-03 21:58:24 |

2021-01-03 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:24 | ------------------------------------

2021-01-03 21:58:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d9ef2e12-8480-415f-9810-8ce2f42c28a8</title></pubsub></data>

2021-01-03 21:58:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:58:25 | [Mutex] waiting for: [received:nodes:bd7758e6-ccaa-4b11-a360-2bc9dd115d9f:localhost]

2021-01-03 21:58:26 | [Mutex] received everything.

2021-01-03 21:58:26 | [Mutex] isItemNotified: received:node:bd7758e6-ccaa-4b11-a360-2bc9dd115d9f:localhost:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:Node d9ef2e12-8480-415f-9810-8ce2f42c28a8 :: true

createSubnodes 1.025s
2021-01-03 21:58:26 |

2021-01-03 21:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:26 | ------------------------------------

2021-01-03 21:58:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7b51289-6b5e-4481-9ee3-27e603c308e5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f7b51289-6b5e-4481-9ee3-27e603c308e5</title></pubsub></data>

2021-01-03 21:58:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:58:27 | [Mutex] waiting for: [received:nodes:94acb949-f342-4279-92ab-9bbc7eba23e7:localhost]

2021-01-03 21:58:27 | [Mutex] received everything.

2021-01-03 21:58:27 | [Mutex] isItemNotified: received:node:94acb949-f342-4279-92ab-9bbc7eba23e7:localhost:node-f7b51289-6b5e-4481-9ee3-27e603c308e5:Node f7b51289-6b5e-4481-9ee3-27e603c308e5 :: true

deleteNodes 1.022s
2021-01-03 21:58:32 |

2021-01-03 21:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:32 | ------------------------------------

2021-01-03 21:58:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7b51289-6b5e-4481-9ee3-27e603c308e5</node></data>

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

2021-01-03 21:58:33 | [Mutex] waiting for: [received:nodes:bbfa2b0c-a415-4ba0-82fe-2ec97d95bb1b:localhost]

2021-01-03 21:58:33 | [Mutex] received everything.

2021-01-03 21:58:33 | [Mutex] isItemNotified: received:node:bbfa2b0c-a415-4ba0-82fe-2ec97d95bb1b:localhost:node-f7b51289-6b5e-4481-9ee3-27e603c308e5:Node f7b51289-6b5e-4481-9ee3-27e603c308e5 :: false

deleteSubnodes 1.116s
2021-01-03 21:58:31 |

2021-01-03 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:31 | ------------------------------------

2021-01-03 21:58:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node></data>

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

2021-01-03 21:58:32 | [Mutex] waiting for: [received:nodes:20a00c3f-8631-4c32-8617-93009c4151e4:localhost]

2021-01-03 21:58:32 | [Mutex] received everything.

2021-01-03 21:58:32 | [Mutex] isItemNotified: received:node:20a00c3f-8631-4c32-8617-93009c4151e4:localhost:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:Node d9ef2e12-8480-415f-9810-8ce2f42c28a8 :: false

2021-01-03 21:58:32 | [Mutex] waiting for: [received:nodes:daa2f78c-1b5b-47c7-809a-1a7c9d86f6b2:localhost]

2021-01-03 21:58:32 | [Mutex] received everything.

2021-01-03 21:58:32 | [Mutex] isItemNotified: received:node:daa2f78c-1b5b-47c7-809a-1a7c9d86f6b2:localhost:node-d9ef2e12-8480-415f-9810-8ce2f42c28a8:Node d9ef2e12-8480-415f-9810-8ce2f42c28a8 :: false

publishItemsToNodes 0.181s
2021-01-03 21:58:29 |

2021-01-03 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:29 | ------------------------------------

2021-01-03 21:58:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><item-id>item-324bcaf7-cff3-4728-b588-419a6cbc4107</item-id><entry><test>item-324bcaf7-cff3-4728-b588-419a6cbc4107</test></entry></data>

2021-01-03 21:58:29 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-324bcaf7-cff3-4728-b588-419a6cbc4107</value></item-id></result>

2021-01-03 21:58:29 | [Mutex] received everything.

2021-01-03 21:58:29 | [Mutex] isItemNotified: published:item:notifieditem-324bcaf7-cff3-4728-b588-419a6cbc4107:admin@test-domain.com :: true

retractItemsFromNodes 0.221s
2021-01-03 21:58:29 |

2021-01-03 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:29 | ------------------------------------

2021-01-03 21:58:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><item-id>item-324bcaf7-cff3-4728-b588-419a6cbc4107</item-id></data>

2021-01-03 21:58:30 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-324bcaf7-cff3-4728-b588-419a6cbc4107</value></item-id></result>

2021-01-03 21:58:30 | [Mutex] received everything.

2021-01-03 21:58:30 | [Mutex] isItemNotified: retracted:item:notifieditem-324bcaf7-cff3-4728-b588-419a6cbc4107:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2021-01-03 21:58:29 |

2021-01-03 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:29 | ------------------------------------

2021-01-03 21:58:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><item-id>item-324bcaf7-cff3-4728-b588-419a6cbc4107</item-id></data>

2021-01-03 21:58:29 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</value></node><item-id label="Item ID" type="text-single"><value>item-324bcaf7-cff3-4728-b588-419a6cbc4107</value></item-id><item label="Item" type="text-multi"><value><item id="item-324bcaf7-cff3-4728-b588-419a6cbc4107"><test>item-324bcaf7-cff3-4728-b588-419a6cbc4107</test></item></value></item></result>

2021-01-03 21:58:29 | [Mutex] notify: [retrieved:item:item-324bcaf7-cff3-4728-b588-419a6cbc4107:payload-matches:true:localhost]

2021-01-03 21:58:29 | [Mutex] received everything.

2021-01-03 21:58:29 | [Mutex] isItemNotified: retrieved:item:item-324bcaf7-cff3-4728-b588-419a6cbc4107:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-03 21:58:29 |

2021-01-03 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:29 | ------------------------------------

2021-01-03 21:58:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-03 21:58:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</value><value>node-f7b51289-6b5e-4481-9ee3-27e603c308e5</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-03 21:58:29 |

2021-01-03 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:29 | ------------------------------------

2021-01-03 21:58:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d9ef2e12-8480-415f-9810-8ce2f42c28a8)</node-pattern></data>

2021-01-03 21:58:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2021-01-03 21:58:28 |

2021-01-03 21:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:28 | ------------------------------------

2021-01-03 21:58:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:58:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.282s
2021-01-03 21:58:30 |

2021-01-03 21:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:58:30 | ------------------------------------

2021-01-03 21:58:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d9ef2e12-8480-415f-9810-8ce2f42c28a8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:58:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>