Generated by TestNG with ReportNG at 21:32 PST on Sunday 05 November 2023
root@8dfa9d99ff97 / 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.370s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-11-05 21:46:49 |

2023-11-05 21:46:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:49 | ------------------------------------

2023-11-05 21:46:49 | [Mutex] waiting for: [configured:node:node-fb806cfb-1912-4761-8cf0-8cca17444165:node-de522652-3ccb-4096-88a5-22ca33a6ebad]

2023-11-05 21:46:49 | [Mutex] received everything.

2023-11-05 21:46:49 | [Mutex] isItemNotified: configured:node:node-fb806cfb-1912-4761-8cf0-8cca17444165:node-de522652-3ccb-4096-88a5-22ca33a6ebad :: true

2023-11-05 21:46:50 | [Mutex] waiting for: [received:nodes:08b9f8c8-ebc5-43a8-9dfb-7d364b0d91dc:localhost]

2023-11-05 21:46:50 | [Mutex] received everything.

2023-11-05 21:46:50 | [Mutex] isItemNotified: received:node:08b9f8c8-ebc5-43a8-9dfb-7d364b0d91dc:localhost:node-fb806cfb-1912-4761-8cf0-8cca17444165:Node fb806cfb-1912-4761-8cf0-8cca17444165 :: true

2023-11-05 21:46:50 | [Mutex] waiting for: [received:nodes:b2010d58-e6de-43c2-bf2e-e053b5f72fe9:localhost]

2023-11-05 21:46:50 | [Mutex] waiting for: [received:nodes:b2010d58-e6de-43c2-bf2e-e053b5f72fe9:localhost]

2023-11-05 21:46:50 | [Mutex] waiting for: [received:nodes:b2010d58-e6de-43c2-bf2e-e053b5f72fe9:localhost]

2023-11-05 21:46:50 | [Mutex] received everything.

2023-11-05 21:46:50 | [Mutex] isItemNotified: received:node:b2010d58-e6de-43c2-bf2e-e053b5f72fe9:localhost:node-fb806cfb-1912-4761-8cf0-8cca17444165:Node fb806cfb-1912-4761-8cf0-8cca17444165 :: false

createNodes 1.399s
2023-11-05 21:46:47 |

2023-11-05 21:46:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:47 | ------------------------------------

2023-11-05 21:46:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fb806cfb-1912-4761-8cf0-8cca17444165</title></pubsub></data>

2023-11-05 21:46:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 21:46:48 | [Mutex] waiting for: [received:nodes:2edc0cf5-0d19-43c4-9e76-345c515f2315:localhost]

2023-11-05 21:46:48 | [Mutex] waiting for: [received:nodes:2edc0cf5-0d19-43c4-9e76-345c515f2315:localhost]

2023-11-05 21:46:48 | [Mutex] waiting for: [received:nodes:2edc0cf5-0d19-43c4-9e76-345c515f2315:localhost]

2023-11-05 21:46:48 | [Mutex] received everything.

2023-11-05 21:46:48 | [Mutex] isItemNotified: received:node:2edc0cf5-0d19-43c4-9e76-345c515f2315:localhost:node-fb806cfb-1912-4761-8cf0-8cca17444165:Node fb806cfb-1912-4761-8cf0-8cca17444165 :: true

createSubnodes 1.026s
2023-11-05 21:46:48 |

2023-11-05 21:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:48 | ------------------------------------

2023-11-05 21:46:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-de522652-3ccb-4096-88a5-22ca33a6ebad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node de522652-3ccb-4096-88a5-22ca33a6ebad</title></pubsub></data>

2023-11-05 21:46:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 21:46:49 | [Mutex] waiting for: [received:nodes:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost]

2023-11-05 21:46:49 | [Mutex] waiting for: [received:nodes:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost]

2023-11-05 21:46:49 | [Mutex] waiting for: [received:nodes:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost]

2023-11-05 21:46:49 | [Mutex] waiting for: [received:nodes:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost]

2023-11-05 21:46:49 | [Mutex] waiting for: [received:nodes:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost]

2023-11-05 21:46:49 | [Mutex] received everything.

2023-11-05 21:46:49 | [Mutex] isItemNotified: received:node:f15ea23d-aae4-4a46-8c64-6ac712308428:localhost:node-de522652-3ccb-4096-88a5-22ca33a6ebad:Node de522652-3ccb-4096-88a5-22ca33a6ebad :: true

deleteNodes 1.023s
2023-11-05 21:46:54 |

2023-11-05 21:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:54 | ------------------------------------

2023-11-05 21:46:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-de522652-3ccb-4096-88a5-22ca33a6ebad</node></data>

2023-11-05 21:46:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 21:46:55 | [Mutex] waiting for: [received:nodes:52c72c6b-ea3b-4b93-8c11-5cfa59a16cff:localhost]

2023-11-05 21:46:55 | [Mutex] waiting for: [received:nodes:52c72c6b-ea3b-4b93-8c11-5cfa59a16cff:localhost]

2023-11-05 21:46:55 | [Mutex] waiting for: [received:nodes:52c72c6b-ea3b-4b93-8c11-5cfa59a16cff:localhost]

2023-11-05 21:46:55 | [Mutex] received everything.

2023-11-05 21:46:55 | [Mutex] isItemNotified: received:node:52c72c6b-ea3b-4b93-8c11-5cfa59a16cff:localhost:node-de522652-3ccb-4096-88a5-22ca33a6ebad:Node de522652-3ccb-4096-88a5-22ca33a6ebad :: false

deleteSubnodes 1.144s
2023-11-05 21:46:53 |

2023-11-05 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:53 | ------------------------------------

2023-11-05 21:46:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node></data>

2023-11-05 21:46:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 21:46:54 | [Mutex] waiting for: [received:nodes:73ba427f-9279-4c58-85cd-9c0d59fcef2b:localhost]

2023-11-05 21:46:54 | [Mutex] waiting for: [received:nodes:73ba427f-9279-4c58-85cd-9c0d59fcef2b:localhost]

2023-11-05 21:46:54 | [Mutex] waiting for: [received:nodes:73ba427f-9279-4c58-85cd-9c0d59fcef2b:localhost]

2023-11-05 21:46:54 | [Mutex] waiting for: [received:nodes:73ba427f-9279-4c58-85cd-9c0d59fcef2b:localhost]

2023-11-05 21:46:54 | [Mutex] received everything.

2023-11-05 21:46:54 | [Mutex] isItemNotified: received:node:73ba427f-9279-4c58-85cd-9c0d59fcef2b:localhost:node-fb806cfb-1912-4761-8cf0-8cca17444165:Node fb806cfb-1912-4761-8cf0-8cca17444165 :: false

2023-11-05 21:46:54 | [Mutex] waiting for: [received:nodes:9e5793d0-70f8-4e62-b8c2-15dd5d08a2b4:localhost]

2023-11-05 21:46:54 | [Mutex] received everything.

2023-11-05 21:46:54 | [Mutex] isItemNotified: received:node:9e5793d0-70f8-4e62-b8c2-15dd5d08a2b4:localhost:node-fb806cfb-1912-4761-8cf0-8cca17444165:Node fb806cfb-1912-4761-8cf0-8cca17444165 :: false

publishItemsToNodes 0.206s
2023-11-05 21:46:51 |

2023-11-05 21:46:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:51 | ------------------------------------

2023-11-05 21:46:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><item-id>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</item-id><entry><test>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</test></entry></data>

2023-11-05 21:46:51 | 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-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</value></item-id></result>

2023-11-05 21:46:51 | [Mutex] waiting for: [published:item:notifieditem-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce:admin@test-domain.com]

2023-11-05 21:46:52 | [Mutex] received everything.

2023-11-05 21:46:52 | [Mutex] isItemNotified: published:item:notifieditem-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2023-11-05 21:46:52 |

2023-11-05 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:52 | ------------------------------------

2023-11-05 21:46:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><item-id>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</item-id></data>

2023-11-05 21:46:52 | 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-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</value></item-id></result>

2023-11-05 21:46:52 | [Mutex] received everything.

2023-11-05 21:46:52 | [Mutex] isItemNotified: retracted:item:notifieditem-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2023-11-05 21:46:52 |

2023-11-05 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:52 | ------------------------------------

2023-11-05 21:46:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><item-id>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</item-id></data>

2023-11-05 21:46:52 | 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-fb806cfb-1912-4761-8cf0-8cca17444165</value></node><item-id type="text-single" label="Item ID"><value>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</value></item-id><item type="text-multi" label="Item"><value><item id="item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce"><test>item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce</test></item></value></item></result>

2023-11-05 21:46:52 | [Mutex] notify: [retrieved:item:item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce:payload-matches:true:localhost]

2023-11-05 21:46:52 | [Mutex] received everything.

2023-11-05 21:46:52 | [Mutex] isItemNotified: retrieved:item:item-e8bebad8-537a-493f-95ee-a4aa6b1ad6ce:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-11-05 21:46:52 |

2023-11-05 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:52 | ------------------------------------

2023-11-05 21:46:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-11-05 21:46:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-fb806cfb-1912-4761-8cf0-8cca17444165</value><value>test</value><value>node-de522652-3ccb-4096-88a5-22ca33a6ebad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-11-05 21:46:52 |

2023-11-05 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:52 | ------------------------------------

2023-11-05 21:46:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fb806cfb-1912-4761-8cf0-8cca17444165)</node-pattern></data>

2023-11-05 21:46:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.151s
2023-11-05 21:46:50 |

2023-11-05 21:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:50 | ------------------------------------

2023-11-05 21:46:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-05 21:46:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2023-11-05 21:46:52 |

2023-11-05 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 21:46:52 | ------------------------------------

2023-11-05 21:46:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fb806cfb-1912-4761-8cf0-8cca17444165</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-05 21:46:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>