Generated by TestNG with ReportNG at 21:18 PST on Saturday 24 December 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.378s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-12-24 21:33:04 |

2022-12-24 21:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:04 | ------------------------------------

2022-12-24 21:33:04 | [Mutex] waiting for: [configured:node:node-f656714d-453e-42e1-a79b-5504316e6669:node-62d7ac0a-0d95-411a-88bd-193e6b84a94e]

2022-12-24 21:33:04 | [Mutex] received everything.

2022-12-24 21:33:04 | [Mutex] isItemNotified: configured:node:node-f656714d-453e-42e1-a79b-5504316e6669:node-62d7ac0a-0d95-411a-88bd-193e6b84a94e :: true

2022-12-24 21:33:05 | [Mutex] waiting for: [received:nodes:263527d5-a737-489e-9d79-c4a991fa23d1:localhost]

2022-12-24 21:33:05 | [Mutex] received everything.

2022-12-24 21:33:05 | [Mutex] isItemNotified: received:node:263527d5-a737-489e-9d79-c4a991fa23d1:localhost:node-f656714d-453e-42e1-a79b-5504316e6669:Node f656714d-453e-42e1-a79b-5504316e6669 :: true

2022-12-24 21:33:05 | [Mutex] waiting for: [received:nodes:303d18ab-7b13-40a1-86c7-60cc5da6fdc0:localhost]

2022-12-24 21:33:05 | [Mutex] waiting for: [received:nodes:303d18ab-7b13-40a1-86c7-60cc5da6fdc0:localhost]

2022-12-24 21:33:05 | [Mutex] waiting for: [received:nodes:303d18ab-7b13-40a1-86c7-60cc5da6fdc0:localhost]

2022-12-24 21:33:05 | [Mutex] waiting for: [received:nodes:303d18ab-7b13-40a1-86c7-60cc5da6fdc0:localhost]

2022-12-24 21:33:05 | [Mutex] received everything.

2022-12-24 21:33:05 | [Mutex] isItemNotified: received:node:303d18ab-7b13-40a1-86c7-60cc5da6fdc0:localhost:node-f656714d-453e-42e1-a79b-5504316e6669:Node f656714d-453e-42e1-a79b-5504316e6669 :: false

createNodes 1.407s
2022-12-24 21:33:02 |

2022-12-24 21:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:02 | ------------------------------------

2022-12-24 21:33:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f656714d-453e-42e1-a79b-5504316e6669</title></pubsub></data>

2022-12-24 21:33:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-24 21:33:03 | [Mutex] waiting for: [received:nodes:5046209f-0f2f-4e13-8f92-0b1a9526a432:localhost]

2022-12-24 21:33:03 | [Mutex] received everything.

2022-12-24 21:33:03 | [Mutex] isItemNotified: received:node:5046209f-0f2f-4e13-8f92-0b1a9526a432:localhost:node-f656714d-453e-42e1-a79b-5504316e6669:Node f656714d-453e-42e1-a79b-5504316e6669 :: true

createSubnodes 1.024s
2022-12-24 21:33:03 |

2022-12-24 21:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:03 | ------------------------------------

2022-12-24 21:33:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62d7ac0a-0d95-411a-88bd-193e6b84a94e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62d7ac0a-0d95-411a-88bd-193e6b84a94e</title></pubsub></data>

2022-12-24 21:33:03 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-24 21:33:04 | [Mutex] waiting for: [received:nodes:b4a2d2a2-1c93-4118-987f-6cdba17db65d:localhost]

2022-12-24 21:33:04 | [Mutex] received everything.

2022-12-24 21:33:04 | [Mutex] isItemNotified: received:node:b4a2d2a2-1c93-4118-987f-6cdba17db65d:localhost:node-62d7ac0a-0d95-411a-88bd-193e6b84a94e:Node 62d7ac0a-0d95-411a-88bd-193e6b84a94e :: true

deleteNodes 1.016s
2022-12-24 21:33:10 |

2022-12-24 21:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:10 | ------------------------------------

2022-12-24 21:33:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62d7ac0a-0d95-411a-88bd-193e6b84a94e</node></data>

2022-12-24 21:33:10 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-24 21:33:11 | [Mutex] waiting for: [received:nodes:3c1cad40-ea6a-439e-a1cd-c5beb263f5b1:localhost]

2022-12-24 21:33:11 | [Mutex] waiting for: [received:nodes:3c1cad40-ea6a-439e-a1cd-c5beb263f5b1:localhost]

2022-12-24 21:33:11 | [Mutex] waiting for: [received:nodes:3c1cad40-ea6a-439e-a1cd-c5beb263f5b1:localhost]

2022-12-24 21:33:11 | [Mutex] received everything.

2022-12-24 21:33:11 | [Mutex] isItemNotified: received:node:3c1cad40-ea6a-439e-a1cd-c5beb263f5b1:localhost:node-62d7ac0a-0d95-411a-88bd-193e6b84a94e:Node 62d7ac0a-0d95-411a-88bd-193e6b84a94e :: false

deleteSubnodes 1.173s
2022-12-24 21:33:08 |

2022-12-24 21:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:08 | ------------------------------------

2022-12-24 21:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node></data>

2022-12-24 21:33:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-24 21:33:10 | [Mutex] waiting for: [received:nodes:c6dee3a7-bb4c-4385-8a72-4521f05bbf00:localhost]

2022-12-24 21:33:10 | [Mutex] waiting for: [received:nodes:c6dee3a7-bb4c-4385-8a72-4521f05bbf00:localhost]

2022-12-24 21:33:10 | [Mutex] received everything.

2022-12-24 21:33:10 | [Mutex] isItemNotified: received:node:c6dee3a7-bb4c-4385-8a72-4521f05bbf00:localhost:node-f656714d-453e-42e1-a79b-5504316e6669:Node f656714d-453e-42e1-a79b-5504316e6669 :: false

2022-12-24 21:33:10 | [Mutex] waiting for: [received:nodes:e6b08df1-aa9d-4366-a1d6-abd25454cabd:localhost]

2022-12-24 21:33:10 | [Mutex] received everything.

2022-12-24 21:33:10 | [Mutex] isItemNotified: received:node:e6b08df1-aa9d-4366-a1d6-abd25454cabd:localhost:node-f656714d-453e-42e1-a79b-5504316e6669:Node f656714d-453e-42e1-a79b-5504316e6669 :: false

publishItemsToNodes 0.219s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><item-id>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</item-id><entry><test>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</test></entry></data>

2022-12-24 21:33:07 | 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-40d42705-e79d-4b5b-b8a7-ba2776faf679</value></item-id></result>

2022-12-24 21:33:07 | [Mutex] waiting for: [published:item:notifieditem-40d42705-e79d-4b5b-b8a7-ba2776faf679:admin@test-domain.com]

2022-12-24 21:33:07 | [Mutex] received everything.

2022-12-24 21:33:07 | [Mutex] isItemNotified: published:item:notifieditem-40d42705-e79d-4b5b-b8a7-ba2776faf679:admin@test-domain.com :: true

retractItemsFromNodes 0.187s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><item-id>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</item-id></data>

2022-12-24 21:33:07 | 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-40d42705-e79d-4b5b-b8a7-ba2776faf679</value></item-id></result>

2022-12-24 21:33:07 | [Mutex] received everything.

2022-12-24 21:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-40d42705-e79d-4b5b-b8a7-ba2776faf679:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><item-id>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</item-id></data>

2022-12-24 21:33:07 | 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-f656714d-453e-42e1-a79b-5504316e6669</value></node><item-id label="Item ID" type="text-single"><value>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</value></item-id><item label="Item" type="text-multi"><value><item id="item-40d42705-e79d-4b5b-b8a7-ba2776faf679"><test>item-40d42705-e79d-4b5b-b8a7-ba2776faf679</test></item></value></item></result>

2022-12-24 21:33:07 | [Mutex] notify: [retrieved:item:item-40d42705-e79d-4b5b-b8a7-ba2776faf679:payload-matches:true:localhost]

2022-12-24 21:33:07 | [Mutex] received everything.

2022-12-24 21:33:07 | [Mutex] isItemNotified: retrieved:item:item-40d42705-e79d-4b5b-b8a7-ba2776faf679:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-24 21:33:07 | 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-62d7ac0a-0d95-411a-88bd-193e6b84a94e</value><value>node-f656714d-453e-42e1-a79b-5504316e6669</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f656714d-453e-42e1-a79b-5504316e6669)</node-pattern></data>

2022-12-24 21:33:07 | 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-12-24 21:33:05 |

2022-12-24 21:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:05 | ------------------------------------

2022-12-24 21:33:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.147s
2022-12-24 21:33:07 |

2022-12-24 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-24 21:33:07 | ------------------------------------

2022-12-24 21:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f656714d-453e-42e1-a79b-5504316e6669</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-24 21:33:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>