Generated by TestNG with ReportNG at 05:54 PDT on Friday 23 September 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.359s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-09-23 06:08:37 |

2022-09-23 06:08:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:37 | ------------------------------------

2022-09-23 06:08:37 | [Mutex] waiting for: [configured:node:node-ea330992-5885-4cbf-a971-ca2b0b825414:node-a4ec91a3-7836-40be-b271-6161b8a132a2]

2022-09-23 06:08:37 | [Mutex] received everything.

2022-09-23 06:08:37 | [Mutex] isItemNotified: configured:node:node-ea330992-5885-4cbf-a971-ca2b0b825414:node-a4ec91a3-7836-40be-b271-6161b8a132a2 :: true

2022-09-23 06:08:38 | [Mutex] waiting for: [received:nodes:3ffcca95-7c91-4f1a-a822-5290ad21d14f:localhost]

2022-09-23 06:08:38 | [Mutex] received everything.

2022-09-23 06:08:38 | [Mutex] isItemNotified: received:node:3ffcca95-7c91-4f1a-a822-5290ad21d14f:localhost:node-ea330992-5885-4cbf-a971-ca2b0b825414:Node ea330992-5885-4cbf-a971-ca2b0b825414 :: true

2022-09-23 06:08:38 | [Mutex] waiting for: [received:nodes:f49b05f1-e8f8-4461-b8a4-9365aa501ab3:localhost]

2022-09-23 06:08:38 | [Mutex] waiting for: [received:nodes:f49b05f1-e8f8-4461-b8a4-9365aa501ab3:localhost]

2022-09-23 06:08:38 | [Mutex] received everything.

2022-09-23 06:08:38 | [Mutex] isItemNotified: received:node:f49b05f1-e8f8-4461-b8a4-9365aa501ab3:localhost:node-ea330992-5885-4cbf-a971-ca2b0b825414:Node ea330992-5885-4cbf-a971-ca2b0b825414 :: false

createNodes 1.357s
2022-09-23 06:08:34 |

2022-09-23 06:08:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:34 | ------------------------------------

2022-09-23 06:08:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ea330992-5885-4cbf-a971-ca2b0b825414</title></pubsub></data>

2022-09-23 06:08:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-23 06:08:36 | [Mutex] waiting for: [received:nodes:53f28c86-72d1-4c0a-aa68-1f61a3b37557:localhost]

2022-09-23 06:08:36 | [Mutex] received everything.

2022-09-23 06:08:36 | [Mutex] isItemNotified: received:node:53f28c86-72d1-4c0a-aa68-1f61a3b37557:localhost:node-ea330992-5885-4cbf-a971-ca2b0b825414:Node ea330992-5885-4cbf-a971-ca2b0b825414 :: true

createSubnodes 1.025s
2022-09-23 06:08:36 |

2022-09-23 06:08:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:36 | ------------------------------------

2022-09-23 06:08:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a4ec91a3-7836-40be-b271-6161b8a132a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a4ec91a3-7836-40be-b271-6161b8a132a2</title></pubsub></data>

2022-09-23 06:08:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-23 06:08:37 | [Mutex] waiting for: [received:nodes:53e80b6f-2ec4-41fa-99ad-07ec2933a902:localhost]

2022-09-23 06:08:37 | [Mutex] received everything.

2022-09-23 06:08:37 | [Mutex] isItemNotified: received:node:53e80b6f-2ec4-41fa-99ad-07ec2933a902:localhost:node-a4ec91a3-7836-40be-b271-6161b8a132a2:Node a4ec91a3-7836-40be-b271-6161b8a132a2 :: true

deleteNodes 1.016s
2022-09-23 06:08:42 |

2022-09-23 06:08:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:42 | ------------------------------------

2022-09-23 06:08:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a4ec91a3-7836-40be-b271-6161b8a132a2</node></data>

2022-09-23 06:08:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-23 06:08:43 | [Mutex] waiting for: [received:nodes:a0c4fb7d-00bd-41ec-bece-d16a644417ed:localhost]

2022-09-23 06:08:43 | [Mutex] received everything.

2022-09-23 06:08:43 | [Mutex] isItemNotified: received:node:a0c4fb7d-00bd-41ec-bece-d16a644417ed:localhost:node-a4ec91a3-7836-40be-b271-6161b8a132a2:Node a4ec91a3-7836-40be-b271-6161b8a132a2 :: false

deleteSubnodes 1.112s
2022-09-23 06:08:41 |

2022-09-23 06:08:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:41 | ------------------------------------

2022-09-23 06:08:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node></data>

2022-09-23 06:08:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-23 06:08:42 | [Mutex] waiting for: [received:nodes:61bd8629-c0dc-43c1-a1f4-f3775b0a1995:localhost]

2022-09-23 06:08:42 | [Mutex] received everything.

2022-09-23 06:08:42 | [Mutex] isItemNotified: received:node:61bd8629-c0dc-43c1-a1f4-f3775b0a1995:localhost:node-ea330992-5885-4cbf-a971-ca2b0b825414:Node ea330992-5885-4cbf-a971-ca2b0b825414 :: false

2022-09-23 06:08:42 | [Mutex] waiting for: [received:nodes:8850dbc3-b2ec-411d-afa9-72512c4bb400:localhost]

2022-09-23 06:08:42 | [Mutex] received everything.

2022-09-23 06:08:42 | [Mutex] isItemNotified: received:node:8850dbc3-b2ec-411d-afa9-72512c4bb400:localhost:node-ea330992-5885-4cbf-a971-ca2b0b825414:Node ea330992-5885-4cbf-a971-ca2b0b825414 :: false

publishItemsToNodes 0.236s
2022-09-23 06:08:39 |

2022-09-23 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:39 | ------------------------------------

2022-09-23 06:08:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><item-id>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</item-id><entry><test>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</test></entry></data>

2022-09-23 06:08:39 | 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-76e8a340-c155-4edf-bcc3-ecd474d49d37</value></item-id></result>

2022-09-23 06:08:39 | [Mutex] received everything.

2022-09-23 06:08:39 | [Mutex] isItemNotified: published:item:notifieditem-76e8a340-c155-4edf-bcc3-ecd474d49d37:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2022-09-23 06:08:39 |

2022-09-23 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:39 | ------------------------------------

2022-09-23 06:08:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><item-id>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</item-id></data>

2022-09-23 06:08:40 | 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-76e8a340-c155-4edf-bcc3-ecd474d49d37</value></item-id></result>

2022-09-23 06:08:40 | [Mutex] received everything.

2022-09-23 06:08:40 | [Mutex] isItemNotified: retracted:item:notifieditem-76e8a340-c155-4edf-bcc3-ecd474d49d37:admin@test-domain.com :: true

retrieveItemsFromNodes 0.261s
2022-09-23 06:08:39 |

2022-09-23 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:39 | ------------------------------------

2022-09-23 06:08:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><item-id>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</item-id></data>

2022-09-23 06:08:39 | 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-ea330992-5885-4cbf-a971-ca2b0b825414</value></node><item-id label="Item ID" type="text-single"><value>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</value></item-id><item label="Item" type="text-multi"><value><item id="item-76e8a340-c155-4edf-bcc3-ecd474d49d37"><test>item-76e8a340-c155-4edf-bcc3-ecd474d49d37</test></item></value></item></result>

2022-09-23 06:08:39 | [Mutex] notify: [retrieved:item:item-76e8a340-c155-4edf-bcc3-ecd474d49d37:payload-matches:true:localhost]

2022-09-23 06:08:39 | [Mutex] received everything.

2022-09-23 06:08:39 | [Mutex] isItemNotified: retrieved:item:item-76e8a340-c155-4edf-bcc3-ecd474d49d37:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-23 06:08:39 |

2022-09-23 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:39 | ------------------------------------

2022-09-23 06:08:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-23 06:08:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-ea330992-5885-4cbf-a971-ca2b0b825414</value><value>node-a4ec91a3-7836-40be-b271-6161b8a132a2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-23 06:08:39 |

2022-09-23 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:39 | ------------------------------------

2022-09-23 06:08:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ea330992-5885-4cbf-a971-ca2b0b825414)</node-pattern></data>

2022-09-23 06:08:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.108s
2022-09-23 06:08:38 |

2022-09-23 06:08:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:38 | ------------------------------------

2022-09-23 06:08:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-23 06:08:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2022-09-23 06:08:40 |

2022-09-23 06:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:08:40 | ------------------------------------

2022-09-23 06:08:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ea330992-5885-4cbf-a971-ca2b0b825414</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-23 06:08:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>