Generated by TestNG with ReportNG at 21:50 PST on Wednesday 16 November 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.337s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.041s
2022-11-16 22:06:55 |

2022-11-16 22:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:55 | ------------------------------------

2022-11-16 22:06:55 | [Mutex] waiting for: [configured:node:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:node-c38ac77d-33a4-4b83-908c-8ff3a928304e]

2022-11-16 22:06:55 | [Mutex] received everything.

2022-11-16 22:06:55 | [Mutex] isItemNotified: configured:node:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:node-c38ac77d-33a4-4b83-908c-8ff3a928304e :: true

2022-11-16 22:06:56 | [Mutex] waiting for: [received:nodes:98130202-8b0f-4984-95e3-1b69c05ce165:localhost]

2022-11-16 22:06:56 | [Mutex] received everything.

2022-11-16 22:06:56 | [Mutex] isItemNotified: received:node:98130202-8b0f-4984-95e3-1b69c05ce165:localhost:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:Node 29dcd4f0-44ad-47fd-926a-e91843ebe390 :: true

2022-11-16 22:06:56 | [Mutex] waiting for: [received:nodes:480c6375-8084-4cef-918b-979c14178ff5:localhost]

2022-11-16 22:06:56 | [Mutex] received everything.

2022-11-16 22:06:56 | [Mutex] isItemNotified: received:node:480c6375-8084-4cef-918b-979c14178ff5:localhost:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:Node 29dcd4f0-44ad-47fd-926a-e91843ebe390 :: false

createNodes 1.345s
2022-11-16 22:06:52 |

2022-11-16 22:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:52 | ------------------------------------

2022-11-16 22:06:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 29dcd4f0-44ad-47fd-926a-e91843ebe390</title></pubsub></data>

2022-11-16 22:06:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 22:06:54 | [Mutex] waiting for: [received:nodes:0cb08901-b2fe-4b39-a268-c0332b00f801:localhost]

2022-11-16 22:06:54 | [Mutex] received everything.

2022-11-16 22:06:54 | [Mutex] isItemNotified: received:node:0cb08901-b2fe-4b39-a268-c0332b00f801:localhost:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:Node 29dcd4f0-44ad-47fd-926a-e91843ebe390 :: true

createSubnodes 1.022s
2022-11-16 22:06:54 |

2022-11-16 22:06:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:54 | ------------------------------------

2022-11-16 22:06:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c38ac77d-33a4-4b83-908c-8ff3a928304e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c38ac77d-33a4-4b83-908c-8ff3a928304e</title></pubsub></data>

2022-11-16 22:06:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 22:06:55 | [Mutex] waiting for: [received:nodes:546961de-0061-4a11-88d2-469c0e1fcda5:localhost]

2022-11-16 22:06:55 | [Mutex] waiting for: [received:nodes:546961de-0061-4a11-88d2-469c0e1fcda5:localhost]

2022-11-16 22:06:55 | [Mutex] waiting for: [received:nodes:546961de-0061-4a11-88d2-469c0e1fcda5:localhost]

2022-11-16 22:06:55 | [Mutex] received everything.

2022-11-16 22:06:55 | [Mutex] isItemNotified: received:node:546961de-0061-4a11-88d2-469c0e1fcda5:localhost:node-c38ac77d-33a4-4b83-908c-8ff3a928304e:Node c38ac77d-33a4-4b83-908c-8ff3a928304e :: true

deleteNodes 1.017s
2022-11-16 22:07:00 |

2022-11-16 22:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:07:00 | ------------------------------------

2022-11-16 22:07:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c38ac77d-33a4-4b83-908c-8ff3a928304e</node></data>

2022-11-16 22:07:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 22:07:01 | [Mutex] waiting for: [received:nodes:e5ad2a40-71e7-4b5a-8cfe-f57890403548:localhost]

2022-11-16 22:07:01 | [Mutex] received everything.

2022-11-16 22:07:01 | [Mutex] isItemNotified: received:node:e5ad2a40-71e7-4b5a-8cfe-f57890403548:localhost:node-c38ac77d-33a4-4b83-908c-8ff3a928304e:Node c38ac77d-33a4-4b83-908c-8ff3a928304e :: false

deleteSubnodes 1.113s
2022-11-16 22:06:59 |

2022-11-16 22:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:59 | ------------------------------------

2022-11-16 22:06:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node></data>

2022-11-16 22:06:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 22:07:00 | [Mutex] waiting for: [received:nodes:dc881dfd-c36d-40a6-9f37-102abb499d40:localhost]

2022-11-16 22:07:00 | [Mutex] waiting for: [received:nodes:dc881dfd-c36d-40a6-9f37-102abb499d40:localhost]

2022-11-16 22:07:00 | [Mutex] received everything.

2022-11-16 22:07:00 | [Mutex] isItemNotified: received:node:dc881dfd-c36d-40a6-9f37-102abb499d40:localhost:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:Node 29dcd4f0-44ad-47fd-926a-e91843ebe390 :: false

2022-11-16 22:07:00 | [Mutex] waiting for: [received:nodes:89f447e5-c653-4cc8-80bc-af8534d0ad02:localhost]

2022-11-16 22:07:00 | [Mutex] received everything.

2022-11-16 22:07:00 | [Mutex] isItemNotified: received:node:89f447e5-c653-4cc8-80bc-af8534d0ad02:localhost:node-29dcd4f0-44ad-47fd-926a-e91843ebe390:Node 29dcd4f0-44ad-47fd-926a-e91843ebe390 :: false

publishItemsToNodes 0.267s
2022-11-16 22:06:57 |

2022-11-16 22:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:57 | ------------------------------------

2022-11-16 22:06:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><item-id>item-a4432eec-28dc-4727-a57d-021597af7dbc</item-id><entry><test>item-a4432eec-28dc-4727-a57d-021597af7dbc</test></entry></data>

2022-11-16 22:06:57 | 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-a4432eec-28dc-4727-a57d-021597af7dbc</value></item-id></result>

2022-11-16 22:06:57 | [Mutex] waiting for: [published:item:notifieditem-a4432eec-28dc-4727-a57d-021597af7dbc:admin@test-domain.com]

2022-11-16 22:06:57 | [Mutex] received everything.

2022-11-16 22:06:57 | [Mutex] isItemNotified: published:item:notifieditem-a4432eec-28dc-4727-a57d-021597af7dbc:admin@test-domain.com :: true

retractItemsFromNodes 0.281s
2022-11-16 22:06:58 |

2022-11-16 22:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:58 | ------------------------------------

2022-11-16 22:06:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><item-id>item-a4432eec-28dc-4727-a57d-021597af7dbc</item-id></data>

2022-11-16 22:06:58 | 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-a4432eec-28dc-4727-a57d-021597af7dbc</value></item-id></result>

2022-11-16 22:06:58 | [Mutex] waiting for: [retracted:item:notifieditem-a4432eec-28dc-4727-a57d-021597af7dbc:admin@test-domain.com]

2022-11-16 22:06:58 | [Mutex] received everything.

2022-11-16 22:06:58 | [Mutex] isItemNotified: retracted:item:notifieditem-a4432eec-28dc-4727-a57d-021597af7dbc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.143s
2022-11-16 22:06:57 |

2022-11-16 22:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:57 | ------------------------------------

2022-11-16 22:06:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><item-id>item-a4432eec-28dc-4727-a57d-021597af7dbc</item-id></data>

2022-11-16 22:06:57 | 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-29dcd4f0-44ad-47fd-926a-e91843ebe390</value></node><item-id label="Item ID" type="text-single"><value>item-a4432eec-28dc-4727-a57d-021597af7dbc</value></item-id><item label="Item" type="text-multi"><value><item id="item-a4432eec-28dc-4727-a57d-021597af7dbc"><test>item-a4432eec-28dc-4727-a57d-021597af7dbc</test></item></value></item></result>

2022-11-16 22:06:57 | [Mutex] notify: [retrieved:item:item-a4432eec-28dc-4727-a57d-021597af7dbc:payload-matches:true:localhost]

2022-11-16 22:06:57 | [Mutex] received everything.

2022-11-16 22:06:57 | [Mutex] isItemNotified: retrieved:item:item-a4432eec-28dc-4727-a57d-021597af7dbc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-16 22:06:57 |

2022-11-16 22:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:57 | ------------------------------------

2022-11-16 22:06:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-16 22:06:57 | 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-c38ac77d-33a4-4b83-908c-8ff3a928304e</value><value>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-11-16 22:06:57 |

2022-11-16 22:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:57 | ------------------------------------

2022-11-16 22:06:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-29dcd4f0-44ad-47fd-926a-e91843ebe390)</node-pattern></data>

2022-11-16 22:06:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.174s
2022-11-16 22:06:56 |

2022-11-16 22:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:56 | ------------------------------------

2022-11-16 22:06:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-16 22:06:56 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.176s
2022-11-16 22:06:58 |

2022-11-16 22:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 22:06:58 | ------------------------------------

2022-11-16 22:06:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-29dcd4f0-44ad-47fd-926a-e91843ebe390</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-16 22:06:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>