Generated by TestNG with ReportNG at 22:46 PDT on Sunday 27 August 2023
root@5f28cc209959 / Java 17.0.8 (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.540s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-08-27 23:01:21 |

2023-08-27 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:21 | ------------------------------------

2023-08-27 23:01:21 | [Mutex] waiting for: [configured:node:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:node-7e0efd5d-9666-477d-8447-8d303e5ee3f4]

2023-08-27 23:01:21 | [Mutex] received everything.

2023-08-27 23:01:21 | [Mutex] isItemNotified: configured:node:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:node-7e0efd5d-9666-477d-8447-8d303e5ee3f4 :: true

2023-08-27 23:01:22 | [Mutex] waiting for: [received:nodes:8ff0d2db-3b54-45da-860e-a314972bde79:localhost]

2023-08-27 23:01:22 | [Mutex] received everything.

2023-08-27 23:01:22 | [Mutex] isItemNotified: received:node:8ff0d2db-3b54-45da-860e-a314972bde79:localhost:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49 :: true

2023-08-27 23:01:22 | [Mutex] waiting for: [received:nodes:14739169-12a3-43c3-b9c7-1cb8eb79654e:localhost]

2023-08-27 23:01:22 | [Mutex] waiting for: [received:nodes:14739169-12a3-43c3-b9c7-1cb8eb79654e:localhost]

2023-08-27 23:01:22 | [Mutex] waiting for: [received:nodes:14739169-12a3-43c3-b9c7-1cb8eb79654e:localhost]

2023-08-27 23:01:22 | [Mutex] waiting for: [received:nodes:14739169-12a3-43c3-b9c7-1cb8eb79654e:localhost]

2023-08-27 23:01:22 | [Mutex] received everything.

2023-08-27 23:01:22 | [Mutex] isItemNotified: received:node:14739169-12a3-43c3-b9c7-1cb8eb79654e:localhost:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49 :: false

createNodes 1.443s
2023-08-27 23:01:18 |

2023-08-27 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:18 | ------------------------------------

2023-08-27 23:01:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</title></pubsub></data>

2023-08-27 23:01:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 23:01:19 | [Mutex] waiting for: [received:nodes:385c6d54-6792-4d6b-9303-e099f954cdce:localhost]

2023-08-27 23:01:19 | [Mutex] waiting for: [received:nodes:385c6d54-6792-4d6b-9303-e099f954cdce:localhost]

2023-08-27 23:01:19 | [Mutex] waiting for: [received:nodes:385c6d54-6792-4d6b-9303-e099f954cdce:localhost]

2023-08-27 23:01:19 | [Mutex] received everything.

2023-08-27 23:01:19 | [Mutex] isItemNotified: received:node:385c6d54-6792-4d6b-9303-e099f954cdce:localhost:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49 :: true

createSubnodes 1.022s
2023-08-27 23:01:19 |

2023-08-27 23:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:19 | ------------------------------------

2023-08-27 23:01:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7e0efd5d-9666-477d-8447-8d303e5ee3f4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7e0efd5d-9666-477d-8447-8d303e5ee3f4</title></pubsub></data>

2023-08-27 23:01:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 23:01:20 | [Mutex] waiting for: [received:nodes:c28e9962-b0af-4be9-8c03-495b17e33edd:localhost]

2023-08-27 23:01:21 | [Mutex] waiting for: [received:nodes:c28e9962-b0af-4be9-8c03-495b17e33edd:localhost]

2023-08-27 23:01:21 | [Mutex] waiting for: [received:nodes:c28e9962-b0af-4be9-8c03-495b17e33edd:localhost]

2023-08-27 23:01:21 | [Mutex] waiting for: [received:nodes:c28e9962-b0af-4be9-8c03-495b17e33edd:localhost]

2023-08-27 23:01:21 | [Mutex] received everything.

2023-08-27 23:01:21 | [Mutex] isItemNotified: received:node:c28e9962-b0af-4be9-8c03-495b17e33edd:localhost:node-7e0efd5d-9666-477d-8447-8d303e5ee3f4:Node 7e0efd5d-9666-477d-8447-8d303e5ee3f4 :: true

deleteNodes 1.018s
2023-08-27 23:01:26 |

2023-08-27 23:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:26 | ------------------------------------

2023-08-27 23:01:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7e0efd5d-9666-477d-8447-8d303e5ee3f4</node></data>

2023-08-27 23:01:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 23:01:27 | [Mutex] waiting for: [received:nodes:53c43781-011e-423d-afda-34160665b36b:localhost]

2023-08-27 23:01:27 | [Mutex] waiting for: [received:nodes:53c43781-011e-423d-afda-34160665b36b:localhost]

2023-08-27 23:01:27 | [Mutex] waiting for: [received:nodes:53c43781-011e-423d-afda-34160665b36b:localhost]

2023-08-27 23:01:27 | [Mutex] received everything.

2023-08-27 23:01:27 | [Mutex] isItemNotified: received:node:53c43781-011e-423d-afda-34160665b36b:localhost:node-7e0efd5d-9666-477d-8447-8d303e5ee3f4:Node 7e0efd5d-9666-477d-8447-8d303e5ee3f4 :: false

deleteSubnodes 1.122s
2023-08-27 23:01:25 |

2023-08-27 23:01:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:25 | ------------------------------------

2023-08-27 23:01:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node></data>

2023-08-27 23:01:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-27 23:01:26 | [Mutex] waiting for: [received:nodes:98fbd50e-34af-4427-a966-83d711ba3893:localhost]

2023-08-27 23:01:26 | [Mutex] waiting for: [received:nodes:98fbd50e-34af-4427-a966-83d711ba3893:localhost]

2023-08-27 23:01:26 | [Mutex] waiting for: [received:nodes:98fbd50e-34af-4427-a966-83d711ba3893:localhost]

2023-08-27 23:01:26 | [Mutex] received everything.

2023-08-27 23:01:26 | [Mutex] isItemNotified: received:node:98fbd50e-34af-4427-a966-83d711ba3893:localhost:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49 :: false

2023-08-27 23:01:26 | [Mutex] waiting for: [received:nodes:8b0cddd8-438c-4eaf-9dd1-a8b42c94f799:localhost]

2023-08-27 23:01:26 | [Mutex] received everything.

2023-08-27 23:01:26 | [Mutex] isItemNotified: received:node:8b0cddd8-438c-4eaf-9dd1-a8b42c94f799:localhost:node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49:Node 1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49 :: false

publishItemsToNodes 0.277s
2023-08-27 23:01:23 |

2023-08-27 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:23 | ------------------------------------

2023-08-27 23:01:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><item-id>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</item-id><entry><test>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</test></entry></data>

2023-08-27 23:01:23 | 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-87bdee06-2830-49ca-bcc6-08efd288ec9e</value></item-id></result>

2023-08-27 23:01:23 | [Mutex] received everything.

2023-08-27 23:01:23 | [Mutex] isItemNotified: published:item:notifieditem-87bdee06-2830-49ca-bcc6-08efd288ec9e:admin@test-domain.com :: true

retractItemsFromNodes 0.292s
2023-08-27 23:01:23 |

2023-08-27 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:23 | ------------------------------------

2023-08-27 23:01:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><item-id>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</item-id></data>

2023-08-27 23:01:24 | 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-87bdee06-2830-49ca-bcc6-08efd288ec9e</value></item-id></result>

2023-08-27 23:01:24 | [Mutex] received everything.

2023-08-27 23:01:24 | [Mutex] isItemNotified: retracted:item:notifieditem-87bdee06-2830-49ca-bcc6-08efd288ec9e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.170s
2023-08-27 23:01:23 |

2023-08-27 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:23 | ------------------------------------

2023-08-27 23:01:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><item-id>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</item-id></data>

2023-08-27 23:01:23 | 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-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</value></node><item-id type="text-single" label="Item ID"><value>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</value></item-id><item type="text-multi" label="Item"><value><item id="item-87bdee06-2830-49ca-bcc6-08efd288ec9e"><test>item-87bdee06-2830-49ca-bcc6-08efd288ec9e</test></item></value></item></result>

2023-08-27 23:01:23 | [Mutex] notify: [retrieved:item:item-87bdee06-2830-49ca-bcc6-08efd288ec9e:payload-matches:true:localhost]

2023-08-27 23:01:23 | [Mutex] received everything.

2023-08-27 23:01:23 | [Mutex] isItemNotified: retrieved:item:item-87bdee06-2830-49ca-bcc6-08efd288ec9e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-27 23:01:23 |

2023-08-27 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:23 | ------------------------------------

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

2023-08-27 23:01:23 | 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-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</value><value>node-7e0efd5d-9666-477d-8447-8d303e5ee3f4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-27 23:01:23 |

2023-08-27 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:23 | ------------------------------------

2023-08-27 23:01:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49)</node-pattern></data>

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

subscribeNodes 1.149s
2023-08-27 23:01:22 |

2023-08-27 23:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:22 | ------------------------------------

2023-08-27 23:01:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 23:01:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.206s
2023-08-27 23:01:24 |

2023-08-27 23:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-27 23:01:24 | ------------------------------------

2023-08-27 23:01:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1bb82ad3-8a1f-4a59-b8fd-b28920c4ae49</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-27 23:01:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>