Generated by TestNG with ReportNG at 22:47 PDT on Thursday 15 September 2022
root@7c41cec37518 / 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.426s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.081s
2022-09-15 23:02:40 |

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

2022-09-15 23:02:40 | ------------------------------------

2022-09-15 23:02:40 | [Mutex] waiting for: [configured:node:node-896d0c4b-9b41-4893-b847-01b616ae32f3:node-d6a27a76-d8b1-4922-975f-dabec25de5b2]

2022-09-15 23:02:40 | [Mutex] received everything.

2022-09-15 23:02:40 | [Mutex] isItemNotified: configured:node:node-896d0c4b-9b41-4893-b847-01b616ae32f3:node-d6a27a76-d8b1-4922-975f-dabec25de5b2 :: true

2022-09-15 23:02:41 | [Mutex] waiting for: [received:nodes:38273bca-a637-41e1-86e6-6358e56da461:localhost]

2022-09-15 23:02:41 | [Mutex] received everything.

2022-09-15 23:02:41 | [Mutex] isItemNotified: received:node:38273bca-a637-41e1-86e6-6358e56da461:localhost:node-896d0c4b-9b41-4893-b847-01b616ae32f3:Node 896d0c4b-9b41-4893-b847-01b616ae32f3 :: true

2022-09-15 23:02:41 | [Mutex] waiting for: [received:nodes:e30ab078-2ab3-41b8-919e-96ff9f550ea7:localhost]

2022-09-15 23:02:41 | [Mutex] waiting for: [received:nodes:e30ab078-2ab3-41b8-919e-96ff9f550ea7:localhost]

2022-09-15 23:02:41 | [Mutex] received everything.

2022-09-15 23:02:41 | [Mutex] isItemNotified: received:node:e30ab078-2ab3-41b8-919e-96ff9f550ea7:localhost:node-896d0c4b-9b41-4893-b847-01b616ae32f3:Node 896d0c4b-9b41-4893-b847-01b616ae32f3 :: false

createNodes 1.437s
2022-09-15 23:02:37 |

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

2022-09-15 23:02:37 | ------------------------------------

2022-09-15 23:02:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 896d0c4b-9b41-4893-b847-01b616ae32f3</title></pubsub></data>

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

2022-09-15 23:02:39 | [Mutex] waiting for: [received:nodes:e062b07e-a7a2-4d6f-8043-dc77871fc7f3:localhost]

2022-09-15 23:02:39 | [Mutex] waiting for: [received:nodes:e062b07e-a7a2-4d6f-8043-dc77871fc7f3:localhost]

2022-09-15 23:02:39 | [Mutex] received everything.

2022-09-15 23:02:39 | [Mutex] isItemNotified: received:node:e062b07e-a7a2-4d6f-8043-dc77871fc7f3:localhost:node-896d0c4b-9b41-4893-b847-01b616ae32f3:Node 896d0c4b-9b41-4893-b847-01b616ae32f3 :: true

createSubnodes 1.021s
2022-09-15 23:02:39 |

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

2022-09-15 23:02:39 | ------------------------------------

2022-09-15 23:02:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d6a27a76-d8b1-4922-975f-dabec25de5b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d6a27a76-d8b1-4922-975f-dabec25de5b2</title></pubsub></data>

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

2022-09-15 23:02:40 | [Mutex] waiting for: [received:nodes:5a302411-0cd9-430d-9666-cef83ee54ae7:localhost]

2022-09-15 23:02:40 | [Mutex] waiting for: [received:nodes:5a302411-0cd9-430d-9666-cef83ee54ae7:localhost]

2022-09-15 23:02:40 | [Mutex] received everything.

2022-09-15 23:02:40 | [Mutex] isItemNotified: received:node:5a302411-0cd9-430d-9666-cef83ee54ae7:localhost:node-d6a27a76-d8b1-4922-975f-dabec25de5b2:Node d6a27a76-d8b1-4922-975f-dabec25de5b2 :: true

deleteNodes 1.020s
2022-09-15 23:02:45 |

2022-09-15 23:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:02:45 | ------------------------------------

2022-09-15 23:02:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d6a27a76-d8b1-4922-975f-dabec25de5b2</node></data>

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

2022-09-15 23:02:46 | [Mutex] waiting for: [received:nodes:7c375d95-65f5-49e8-b694-d0293e1e4177:localhost]

2022-09-15 23:02:46 | [Mutex] received everything.

2022-09-15 23:02:46 | [Mutex] isItemNotified: received:node:7c375d95-65f5-49e8-b694-d0293e1e4177:localhost:node-d6a27a76-d8b1-4922-975f-dabec25de5b2:Node d6a27a76-d8b1-4922-975f-dabec25de5b2 :: false

deleteSubnodes 1.175s
2022-09-15 23:02:44 |

2022-09-15 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:02:44 | ------------------------------------

2022-09-15 23:02:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node></data>

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

2022-09-15 23:02:45 | [Mutex] waiting for: [received:nodes:9d15d431-1204-4a9c-9374-fbecf905e2a8:localhost]

2022-09-15 23:02:45 | [Mutex] received everything.

2022-09-15 23:02:45 | [Mutex] isItemNotified: received:node:9d15d431-1204-4a9c-9374-fbecf905e2a8:localhost:node-896d0c4b-9b41-4893-b847-01b616ae32f3:Node 896d0c4b-9b41-4893-b847-01b616ae32f3 :: false

2022-09-15 23:02:45 | [Mutex] waiting for: [received:nodes:5b29b81d-e5cf-41b7-87a7-b06cf1951884:localhost]

2022-09-15 23:02:45 | [Mutex] received everything.

2022-09-15 23:02:45 | [Mutex] isItemNotified: received:node:5b29b81d-e5cf-41b7-87a7-b06cf1951884:localhost:node-896d0c4b-9b41-4893-b847-01b616ae32f3:Node 896d0c4b-9b41-4893-b847-01b616ae32f3 :: false

publishItemsToNodes 0.195s
2022-09-15 23:02:42 |

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

2022-09-15 23:02:42 | ------------------------------------

2022-09-15 23:02:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><item-id>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</item-id><entry><test>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</test></entry></data>

2022-09-15 23:02:42 | 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-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</value></item-id></result>

2022-09-15 23:02:42 | [Mutex] waiting for: [published:item:notifieditem-30592eff-c5e2-4a09-93cd-99f6b9d18c3f:admin@test-domain.com]

2022-09-15 23:02:42 | [Mutex] received everything.

2022-09-15 23:02:42 | [Mutex] isItemNotified: published:item:notifieditem-30592eff-c5e2-4a09-93cd-99f6b9d18c3f:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-09-15 23:02:42 |

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

2022-09-15 23:02:42 | ------------------------------------

2022-09-15 23:02:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><item-id>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</item-id></data>

2022-09-15 23:02:43 | 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-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</value></item-id></result>

2022-09-15 23:02:43 | [Mutex] received everything.

2022-09-15 23:02:43 | [Mutex] isItemNotified: retracted:item:notifieditem-30592eff-c5e2-4a09-93cd-99f6b9d18c3f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2022-09-15 23:02:42 |

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

2022-09-15 23:02:42 | ------------------------------------

2022-09-15 23:02:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><item-id>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</item-id></data>

2022-09-15 23:02:42 | 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-896d0c4b-9b41-4893-b847-01b616ae32f3</value></node><item-id label="Item ID" type="text-single"><value>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</value></item-id><item label="Item" type="text-multi"><value><item id="item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f"><test>item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f</test></item></value></item></result>

2022-09-15 23:02:42 | [Mutex] notify: [retrieved:item:item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f:payload-matches:true:localhost]

2022-09-15 23:02:42 | [Mutex] received everything.

2022-09-15 23:02:42 | [Mutex] isItemNotified: retrieved:item:item-30592eff-c5e2-4a09-93cd-99f6b9d18c3f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-15 23:02:42 |

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

2022-09-15 23:02:42 | ------------------------------------

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

2022-09-15 23:02:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d6a27a76-d8b1-4922-975f-dabec25de5b2</value><value>test</value><value>node-896d0c4b-9b41-4893-b847-01b616ae32f3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-15 23:02:42 |

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

2022-09-15 23:02:42 | ------------------------------------

2022-09-15 23:02:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-896d0c4b-9b41-4893-b847-01b616ae32f3)</node-pattern></data>

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

subscribeNodes 1.116s
2022-09-15 23:02:41 |

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

2022-09-15 23:02:41 | ------------------------------------

2022-09-15 23:02:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-15 23:02:41 | 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-09-15 23:02:43 |

2022-09-15 23:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 23:02:43 | ------------------------------------

2022-09-15 23:02:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-896d0c4b-9b41-4893-b847-01b616ae32f3</node><jids><value>admin@test-domain.com</value></jids></data>

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