Generated by TestNG with ReportNG at 22:14 PDT on Thursday 24 June 2021
root@b2c2a8eba6e6 / 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.137s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2021-06-24 22:28:32 |

2021-06-24 22:28:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:32 | ------------------------------------

2021-06-24 22:28:32 | [Mutex] waiting for: [configured:node:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:node-d8ba4edb-196e-4138-80b9-2cd015b668d2]

2021-06-24 22:28:32 | [Mutex] received everything.

2021-06-24 22:28:32 | [Mutex] isItemNotified: configured:node:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:node-d8ba4edb-196e-4138-80b9-2cd015b668d2 :: true

2021-06-24 22:28:33 | [Mutex] waiting for: [received:nodes:6939eb6d-7b74-4a02-b07f-291d93ccd24b:localhost]

2021-06-24 22:28:33 | [Mutex] received everything.

2021-06-24 22:28:33 | [Mutex] isItemNotified: received:node:6939eb6d-7b74-4a02-b07f-291d93ccd24b:localhost:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1 :: true

2021-06-24 22:28:33 | [Mutex] waiting for: [received:nodes:7c0f63ba-bcec-476c-9a4b-16f6b73537ee:localhost]

2021-06-24 22:28:33 | [Mutex] received everything.

2021-06-24 22:28:33 | [Mutex] isItemNotified: received:node:7c0f63ba-bcec-476c-9a4b-16f6b73537ee:localhost:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1 :: false

createNodes 1.495s
2021-06-24 22:28:29 |

2021-06-24 22:28:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:29 | ------------------------------------

2021-06-24 22:28:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1</title></pubsub></data>

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

2021-06-24 22:28:31 | [Mutex] waiting for: [received:nodes:16337c69-7de4-4377-a645-d7b1e0f220af:localhost]

2021-06-24 22:28:31 | [Mutex] received everything.

2021-06-24 22:28:31 | [Mutex] isItemNotified: received:node:16337c69-7de4-4377-a645-d7b1e0f220af:localhost:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1 :: true

createSubnodes 1.048s
2021-06-24 22:28:31 |

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

2021-06-24 22:28:31 | ------------------------------------

2021-06-24 22:28:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8ba4edb-196e-4138-80b9-2cd015b668d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8ba4edb-196e-4138-80b9-2cd015b668d2</title></pubsub></data>

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

2021-06-24 22:28:32 | [Mutex] waiting for: [received:nodes:6e496460-571c-4c64-b022-29f93a359262:localhost]

2021-06-24 22:28:32 | [Mutex] received everything.

2021-06-24 22:28:32 | [Mutex] isItemNotified: received:node:6e496460-571c-4c64-b022-29f93a359262:localhost:node-d8ba4edb-196e-4138-80b9-2cd015b668d2:Node d8ba4edb-196e-4138-80b9-2cd015b668d2 :: true

deleteNodes 1.017s
2021-06-24 22:28:37 |

2021-06-24 22:28:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:37 | ------------------------------------

2021-06-24 22:28:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8ba4edb-196e-4138-80b9-2cd015b668d2</node></data>

2021-06-24 22:28:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:28:39 | [Mutex] waiting for: [received:nodes:994049ee-864b-421a-88d5-56208094518a:localhost]

2021-06-24 22:28:39 | [Mutex] received everything.

2021-06-24 22:28:39 | [Mutex] isItemNotified: received:node:994049ee-864b-421a-88d5-56208094518a:localhost:node-d8ba4edb-196e-4138-80b9-2cd015b668d2:Node d8ba4edb-196e-4138-80b9-2cd015b668d2 :: false

deleteSubnodes 1.138s
2021-06-24 22:28:36 |

2021-06-24 22:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:36 | ------------------------------------

2021-06-24 22:28:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node></data>

2021-06-24 22:28:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:28:37 | [Mutex] waiting for: [received:nodes:5545d835-c9b4-4689-920e-6435cb9d4ba1:localhost]

2021-06-24 22:28:37 | [Mutex] waiting for: [received:nodes:5545d835-c9b4-4689-920e-6435cb9d4ba1:localhost]

2021-06-24 22:28:37 | [Mutex] received everything.

2021-06-24 22:28:37 | [Mutex] isItemNotified: received:node:5545d835-c9b4-4689-920e-6435cb9d4ba1:localhost:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1 :: false

2021-06-24 22:28:37 | [Mutex] waiting for: [received:nodes:fbaafa46-f777-4260-b707-202fc9173b6b:localhost]

2021-06-24 22:28:37 | [Mutex] received everything.

2021-06-24 22:28:37 | [Mutex] isItemNotified: received:node:fbaafa46-f777-4260-b707-202fc9173b6b:localhost:node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1:Node 5484f925-320f-4c5c-a62a-d74cd0fbc8e1 :: false

publishItemsToNodes 0.212s
2021-06-24 22:28:34 |

2021-06-24 22:28:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:34 | ------------------------------------

2021-06-24 22:28:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><item-id>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</item-id><entry><test>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</test></entry></data>

2021-06-24 22:28:34 | 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-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</value></item-id></result>

2021-06-24 22:28:34 | [Mutex] received everything.

2021-06-24 22:28:34 | [Mutex] isItemNotified: published:item:notifieditem-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2021-06-24 22:28:35 |

2021-06-24 22:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:35 | ------------------------------------

2021-06-24 22:28:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><item-id>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</item-id></data>

2021-06-24 22:28:35 | 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-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</value></item-id></result>

2021-06-24 22:28:35 | [Mutex] received everything.

2021-06-24 22:28:35 | [Mutex] isItemNotified: retracted:item:notifieditem-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.427s
2021-06-24 22:28:34 |

2021-06-24 22:28:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:34 | ------------------------------------

2021-06-24 22:28:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><item-id>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</item-id></data>

2021-06-24 22:28:35 | 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-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</value></node><item-id label="Item ID" type="text-single"><value>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</value></item-id><item label="Item" type="text-multi"><value><item id="item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4"><test>item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4</test></item></value></item></result>

2021-06-24 22:28:35 | [Mutex] notify: [retrieved:item:item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4:payload-matches:true:localhost]

2021-06-24 22:28:35 | [Mutex] received everything.

2021-06-24 22:28:35 | [Mutex] isItemNotified: retrieved:item:item-4064d3f8-3c72-4e8e-ab85-ba3cc6809af4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-06-24 22:28:35 |

2021-06-24 22:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:35 | ------------------------------------

2021-06-24 22:28:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-24 22:28:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d8ba4edb-196e-4138-80b9-2cd015b668d2</value><value>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-06-24 22:28:35 |

2021-06-24 22:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:35 | ------------------------------------

2021-06-24 22:28:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1)</node-pattern></data>

2021-06-24 22:28:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2021-06-24 22:28:33 |

2021-06-24 22:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:33 | ------------------------------------

2021-06-24 22:28:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:28:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.300s
2021-06-24 22:28:35 |

2021-06-24 22:28:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:28:35 | ------------------------------------

2021-06-24 22:28:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5484f925-320f-4c5c-a62a-d74cd0fbc8e1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:28:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>