Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 20 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.680s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2022-09-20 22:35:38 |

2022-09-20 22:35:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:38 | ------------------------------------

2022-09-20 22:35:38 | [Mutex] waiting for: [configured:node:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:node-c5fa242b-c249-4d48-af34-bb9038ca4273]

2022-09-20 22:35:38 | [Mutex] received everything.

2022-09-20 22:35:38 | [Mutex] isItemNotified: configured:node:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:node-c5fa242b-c249-4d48-af34-bb9038ca4273 :: true

2022-09-20 22:35:39 | [Mutex] waiting for: [received:nodes:61db73c4-c9cb-4e7e-842f-70c9f5bde70d:localhost]

2022-09-20 22:35:39 | [Mutex] received everything.

2022-09-20 22:35:39 | [Mutex] isItemNotified: received:node:61db73c4-c9cb-4e7e-842f-70c9f5bde70d:localhost:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97 :: true

2022-09-20 22:35:39 | [Mutex] waiting for: [received:nodes:27a1b32a-8ae2-4617-af6f-f681834eed46:localhost]

2022-09-20 22:35:39 | [Mutex] received everything.

2022-09-20 22:35:39 | [Mutex] isItemNotified: received:node:27a1b32a-8ae2-4617-af6f-f681834eed46:localhost:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97 :: false

createNodes 1.449s
2022-09-20 22:35:35 |

2022-09-20 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:35 | ------------------------------------

2022-09-20 22:35:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97</title></pubsub></data>

2022-09-20 22:35: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-20 22:35:37 | [Mutex] waiting for: [received:nodes:3801d8b0-ec63-4cc6-8093-08af6260fdfa:localhost]

2022-09-20 22:35:37 | [Mutex] waiting for: [received:nodes:3801d8b0-ec63-4cc6-8093-08af6260fdfa:localhost]

2022-09-20 22:35:37 | [Mutex] received everything.

2022-09-20 22:35:37 | [Mutex] isItemNotified: received:node:3801d8b0-ec63-4cc6-8093-08af6260fdfa:localhost:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97 :: true

createSubnodes 1.030s
2022-09-20 22:35:37 |

2022-09-20 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:37 | ------------------------------------

2022-09-20 22:35:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5fa242b-c249-4d48-af34-bb9038ca4273</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5fa242b-c249-4d48-af34-bb9038ca4273</title></pubsub></data>

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

2022-09-20 22:35:38 | [Mutex] waiting for: [received:nodes:59ce151e-bb09-4687-9faa-431440807eda:localhost]

2022-09-20 22:35:38 | [Mutex] waiting for: [received:nodes:59ce151e-bb09-4687-9faa-431440807eda:localhost]

2022-09-20 22:35:38 | [Mutex] waiting for: [received:nodes:59ce151e-bb09-4687-9faa-431440807eda:localhost]

2022-09-20 22:35:38 | [Mutex] received everything.

2022-09-20 22:35:38 | [Mutex] isItemNotified: received:node:59ce151e-bb09-4687-9faa-431440807eda:localhost:node-c5fa242b-c249-4d48-af34-bb9038ca4273:Node c5fa242b-c249-4d48-af34-bb9038ca4273 :: true

deleteNodes 1.020s
2022-09-20 22:35:43 |

2022-09-20 22:35:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:43 | ------------------------------------

2022-09-20 22:35:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5fa242b-c249-4d48-af34-bb9038ca4273</node></data>

2022-09-20 22:35:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 22:35:44 | [Mutex] waiting for: [received:nodes:63a53259-ed29-40d9-ba3e-ed4121565d95:localhost]

2022-09-20 22:35:44 | [Mutex] received everything.

2022-09-20 22:35:44 | [Mutex] isItemNotified: received:node:63a53259-ed29-40d9-ba3e-ed4121565d95:localhost:node-c5fa242b-c249-4d48-af34-bb9038ca4273:Node c5fa242b-c249-4d48-af34-bb9038ca4273 :: false

deleteSubnodes 1.165s
2022-09-20 22:35:42 |

2022-09-20 22:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:42 | ------------------------------------

2022-09-20 22:35:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node></data>

2022-09-20 22:35: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-20 22:35:43 | [Mutex] waiting for: [received:nodes:c9c0b543-9e1d-41db-90ac-b961611c52f6:localhost]

2022-09-20 22:35:43 | [Mutex] waiting for: [received:nodes:c9c0b543-9e1d-41db-90ac-b961611c52f6:localhost]

2022-09-20 22:35:43 | [Mutex] waiting for: [received:nodes:c9c0b543-9e1d-41db-90ac-b961611c52f6:localhost]

2022-09-20 22:35:43 | [Mutex] received everything.

2022-09-20 22:35:43 | [Mutex] isItemNotified: received:node:c9c0b543-9e1d-41db-90ac-b961611c52f6:localhost:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97 :: false

2022-09-20 22:35:43 | [Mutex] waiting for: [received:nodes:2a290141-2603-4db0-8d04-29ee52230a1f:localhost]

2022-09-20 22:35:43 | [Mutex] received everything.

2022-09-20 22:35:43 | [Mutex] isItemNotified: received:node:2a290141-2603-4db0-8d04-29ee52230a1f:localhost:node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97:Node c25cdbec-e3aa-4f30-a9c4-f078974d0b97 :: false

publishItemsToNodes 0.202s
2022-09-20 22:35:40 |

2022-09-20 22:35:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:40 | ------------------------------------

2022-09-20 22:35:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><item-id>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</item-id><entry><test>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</test></entry></data>

2022-09-20 22:35:40 | 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-5bab4704-f0d1-4331-a09a-f9373f7ec643</value></item-id></result>

2022-09-20 22:35:40 | [Mutex] received everything.

2022-09-20 22:35:40 | [Mutex] isItemNotified: published:item:notifieditem-5bab4704-f0d1-4331-a09a-f9373f7ec643:admin@test-domain.com :: true

retractItemsFromNodes 0.290s
2022-09-20 22:35:41 |

2022-09-20 22:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:41 | ------------------------------------

2022-09-20 22:35:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><item-id>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</item-id></data>

2022-09-20 22:35:41 | 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-5bab4704-f0d1-4331-a09a-f9373f7ec643</value></item-id></result>

2022-09-20 22:35:41 | [Mutex] received everything.

2022-09-20 22:35:41 | [Mutex] isItemNotified: retracted:item:notifieditem-5bab4704-f0d1-4331-a09a-f9373f7ec643:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2022-09-20 22:35:40 |

2022-09-20 22:35:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:40 | ------------------------------------

2022-09-20 22:35:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><item-id>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</item-id></data>

2022-09-20 22:35:41 | 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-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</value></node><item-id type="text-single" label="Item ID"><value>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</value></item-id><item type="text-multi" label="Item"><value><item id="item-5bab4704-f0d1-4331-a09a-f9373f7ec643"><test>item-5bab4704-f0d1-4331-a09a-f9373f7ec643</test></item></value></item></result>

2022-09-20 22:35:41 | [Mutex] notify: [retrieved:item:item-5bab4704-f0d1-4331-a09a-f9373f7ec643:payload-matches:true:localhost]

2022-09-20 22:35:41 | [Mutex] received everything.

2022-09-20 22:35:41 | [Mutex] isItemNotified: retrieved:item:item-5bab4704-f0d1-4331-a09a-f9373f7ec643:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-20 22:35:41 |

2022-09-20 22:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:41 | ------------------------------------

2022-09-20 22:35:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-20 22:35:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c5fa242b-c249-4d48-af34-bb9038ca4273</value><value>test</value><value>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-09-20 22:35:41 |

2022-09-20 22:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:41 | ------------------------------------

2022-09-20 22:35:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97)</node-pattern></data>

2022-09-20 22:35:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2022-09-20 22:35:39 |

2022-09-20 22:35:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:39 | ------------------------------------

2022-09-20 22:35:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 22:35:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.242s
2022-09-20 22:35:41 |

2022-09-20 22:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:35:41 | ------------------------------------

2022-09-20 22:35:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c25cdbec-e3aa-4f30-a9c4-f078974d0b97</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 22:35:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>