Generated by TestNG with ReportNG at 22:18 PDT on Monday 25 July 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.663s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-07-25 22:32:05 |

2022-07-25 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:05 | ------------------------------------

2022-07-25 22:32:05 | [Mutex] waiting for: [configured:node:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:node-509cb8f2-228a-4713-b278-4900fa66ddcd]

2022-07-25 22:32:06 | [Mutex] received everything.

2022-07-25 22:32:06 | [Mutex] isItemNotified: configured:node:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:node-509cb8f2-228a-4713-b278-4900fa66ddcd :: true

2022-07-25 22:32:07 | [Mutex] waiting for: [received:nodes:a572e4e6-8743-414d-86d9-1c02714d01cc:localhost]

2022-07-25 22:32:07 | [Mutex] received everything.

2022-07-25 22:32:07 | [Mutex] isItemNotified: received:node:a572e4e6-8743-414d-86d9-1c02714d01cc:localhost:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5 :: true

2022-07-25 22:32:07 | [Mutex] waiting for: [received:nodes:b851e288-0fd8-49c5-a575-a0117a1dea37:localhost]

2022-07-25 22:32:07 | [Mutex] waiting for: [received:nodes:b851e288-0fd8-49c5-a575-a0117a1dea37:localhost]

2022-07-25 22:32:07 | [Mutex] received everything.

2022-07-25 22:32:07 | [Mutex] isItemNotified: received:node:b851e288-0fd8-49c5-a575-a0117a1dea37:localhost:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5 :: false

createNodes 1.548s
2022-07-25 22:32:03 |

2022-07-25 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:03 | ------------------------------------

2022-07-25 22:32:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5</title></pubsub></data>

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

2022-07-25 22:32:04 | [Mutex] waiting for: [received:nodes:ac2351d0-5aa1-4543-b762-4ca2f21c3afb:localhost]

2022-07-25 22:32:04 | [Mutex] received everything.

2022-07-25 22:32:04 | [Mutex] isItemNotified: received:node:ac2351d0-5aa1-4543-b762-4ca2f21c3afb:localhost:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5 :: true

createSubnodes 1.023s
2022-07-25 22:32:04 |

2022-07-25 22:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:04 | ------------------------------------

2022-07-25 22:32:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-509cb8f2-228a-4713-b278-4900fa66ddcd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 509cb8f2-228a-4713-b278-4900fa66ddcd</title></pubsub></data>

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

2022-07-25 22:32:05 | [Mutex] waiting for: [received:nodes:d95ca40a-237f-4ecd-94f8-f5f14467ae3c:localhost]

2022-07-25 22:32:05 | [Mutex] waiting for: [received:nodes:d95ca40a-237f-4ecd-94f8-f5f14467ae3c:localhost]

2022-07-25 22:32:05 | [Mutex] received everything.

2022-07-25 22:32:05 | [Mutex] isItemNotified: received:node:d95ca40a-237f-4ecd-94f8-f5f14467ae3c:localhost:node-509cb8f2-228a-4713-b278-4900fa66ddcd:Node 509cb8f2-228a-4713-b278-4900fa66ddcd :: true

deleteNodes 1.018s
2022-07-25 22:32:11 |

2022-07-25 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:11 | ------------------------------------

2022-07-25 22:32:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-509cb8f2-228a-4713-b278-4900fa66ddcd</node></data>

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

2022-07-25 22:32:12 | [Mutex] waiting for: [received:nodes:c561283c-d93b-4625-9390-3249f6e74019:localhost]

2022-07-25 22:32:12 | [Mutex] waiting for: [received:nodes:c561283c-d93b-4625-9390-3249f6e74019:localhost]

2022-07-25 22:32:12 | [Mutex] waiting for: [received:nodes:c561283c-d93b-4625-9390-3249f6e74019:localhost]

2022-07-25 22:32:12 | [Mutex] received everything.

2022-07-25 22:32:12 | [Mutex] isItemNotified: received:node:c561283c-d93b-4625-9390-3249f6e74019:localhost:node-509cb8f2-228a-4713-b278-4900fa66ddcd:Node 509cb8f2-228a-4713-b278-4900fa66ddcd :: false

deleteSubnodes 1.142s
2022-07-25 22:32:10 |

2022-07-25 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:10 | ------------------------------------

2022-07-25 22:32:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node></data>

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

2022-07-25 22:32:11 | [Mutex] waiting for: [received:nodes:904159f4-6da4-430d-9651-5f11da021d92:localhost]

2022-07-25 22:32:11 | [Mutex] received everything.

2022-07-25 22:32:11 | [Mutex] isItemNotified: received:node:904159f4-6da4-430d-9651-5f11da021d92:localhost:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5 :: false

2022-07-25 22:32:11 | [Mutex] waiting for: [received:nodes:7348c18f-1c2e-4a21-8fcb-24b0d3e50c7b:localhost]

2022-07-25 22:32:11 | [Mutex] received everything.

2022-07-25 22:32:11 | [Mutex] isItemNotified: received:node:7348c18f-1c2e-4a21-8fcb-24b0d3e50c7b:localhost:node-84f75fa7-7bfe-477e-8284-b14d2e8efea5:Node 84f75fa7-7bfe-477e-8284-b14d2e8efea5 :: false

publishItemsToNodes 0.191s
2022-07-25 22:32:08 |

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

2022-07-25 22:32:08 | ------------------------------------

2022-07-25 22:32:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><item-id>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</item-id><entry><test>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</test></entry></data>

2022-07-25 22:32:08 | 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-3f0bd0af-bc9d-49c0-bf01-d980afe39140</value></item-id></result>

2022-07-25 22:32:08 | [Mutex] waiting for: [published:item:notifieditem-3f0bd0af-bc9d-49c0-bf01-d980afe39140:admin@test-domain.com]

2022-07-25 22:32:08 | [Mutex] received everything.

2022-07-25 22:32:08 | [Mutex] isItemNotified: published:item:notifieditem-3f0bd0af-bc9d-49c0-bf01-d980afe39140:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2022-07-25 22:32:08 |

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

2022-07-25 22:32:08 | ------------------------------------

2022-07-25 22:32:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><item-id>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</item-id></data>

2022-07-25 22:32:09 | 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-3f0bd0af-bc9d-49c0-bf01-d980afe39140</value></item-id></result>

2022-07-25 22:32:09 | [Mutex] received everything.

2022-07-25 22:32:09 | [Mutex] isItemNotified: retracted:item:notifieditem-3f0bd0af-bc9d-49c0-bf01-d980afe39140:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2022-07-25 22:32:08 |

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

2022-07-25 22:32:08 | ------------------------------------

2022-07-25 22:32:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><item-id>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</item-id></data>

2022-07-25 22:32:08 | 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-84f75fa7-7bfe-477e-8284-b14d2e8efea5</value></node><item-id type="text-single" label="Item ID"><value>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</value></item-id><item type="text-multi" label="Item"><value><item id="item-3f0bd0af-bc9d-49c0-bf01-d980afe39140"><test>item-3f0bd0af-bc9d-49c0-bf01-d980afe39140</test></item></value></item></result>

2022-07-25 22:32:08 | [Mutex] notify: [retrieved:item:item-3f0bd0af-bc9d-49c0-bf01-d980afe39140:payload-matches:true:localhost]

2022-07-25 22:32:08 | [Mutex] received everything.

2022-07-25 22:32:08 | [Mutex] isItemNotified: retrieved:item:item-3f0bd0af-bc9d-49c0-bf01-d980afe39140:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-25 22:32:08 |

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

2022-07-25 22:32:08 | ------------------------------------

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

2022-07-25 22:32:08 | 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-509cb8f2-228a-4713-b278-4900fa66ddcd</value><value>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-07-25 22:32:08 |

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

2022-07-25 22:32:08 | ------------------------------------

2022-07-25 22:32:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-84f75fa7-7bfe-477e-8284-b14d2e8efea5)</node-pattern></data>

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

subscribeNodes 1.180s
2022-07-25 22:32:07 |

2022-07-25 22:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:07 | ------------------------------------

2022-07-25 22:32:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-07-25 22:32:09 |

2022-07-25 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:09 | ------------------------------------

2022-07-25 22:32:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-84f75fa7-7bfe-477e-8284-b14d2e8efea5</node><jids><value>admin@test-domain.com</value></jids></data>

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