Generated by TestNG with ReportNG at 22:15 PDT on Monday 27 March 2023
root@ed1b7dd8a1b3 / 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.301s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2023-03-27 22:30:03 |

2023-03-27 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:03 | ------------------------------------

2023-03-27 22:30:03 | [Mutex] waiting for: [configured:node:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:node-2487ef8f-9468-4000-bcf7-61a0bdda67e3]

2023-03-27 22:30:03 | [Mutex] received everything.

2023-03-27 22:30:03 | [Mutex] isItemNotified: configured:node:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:node-2487ef8f-9468-4000-bcf7-61a0bdda67e3 :: true

2023-03-27 22:30:04 | [Mutex] waiting for: [received:nodes:b0d05e77-3ea7-4afc-8669-f49ea513bdfd:localhost]

2023-03-27 22:30:04 | [Mutex] received everything.

2023-03-27 22:30:04 | [Mutex] isItemNotified: received:node:b0d05e77-3ea7-4afc-8669-f49ea513bdfd:localhost:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0 :: true

2023-03-27 22:30:04 | [Mutex] waiting for: [received:nodes:159aa0cc-2338-4900-a064-aae84321510f:localhost]

2023-03-27 22:30:04 | [Mutex] waiting for: [received:nodes:159aa0cc-2338-4900-a064-aae84321510f:localhost]

2023-03-27 22:30:04 | [Mutex] waiting for: [received:nodes:159aa0cc-2338-4900-a064-aae84321510f:localhost]

2023-03-27 22:30:04 | [Mutex] received everything.

2023-03-27 22:30:04 | [Mutex] isItemNotified: received:node:159aa0cc-2338-4900-a064-aae84321510f:localhost:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0 :: false

createNodes 1.395s
2023-03-27 22:30:00 |

2023-03-27 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:00 | ------------------------------------

2023-03-27 22:30:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0</title></pubsub></data>

2023-03-27 22:30:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:30:02 | [Mutex] waiting for: [received:nodes:a49ed8a3-da79-401a-b506-444013aa735f:localhost]

2023-03-27 22:30:02 | [Mutex] waiting for: [received:nodes:a49ed8a3-da79-401a-b506-444013aa735f:localhost]

2023-03-27 22:30:02 | [Mutex] waiting for: [received:nodes:a49ed8a3-da79-401a-b506-444013aa735f:localhost]

2023-03-27 22:30:02 | [Mutex] waiting for: [received:nodes:a49ed8a3-da79-401a-b506-444013aa735f:localhost]

2023-03-27 22:30:02 | [Mutex] received everything.

2023-03-27 22:30:02 | [Mutex] isItemNotified: received:node:a49ed8a3-da79-401a-b506-444013aa735f:localhost:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0 :: true

createSubnodes 1.031s
2023-03-27 22:30:02 |

2023-03-27 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:02 | ------------------------------------

2023-03-27 22:30:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2487ef8f-9468-4000-bcf7-61a0bdda67e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2487ef8f-9468-4000-bcf7-61a0bdda67e3</title></pubsub></data>

2023-03-27 22:30:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:30:03 | [Mutex] waiting for: [received:nodes:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost]

2023-03-27 22:30:03 | [Mutex] waiting for: [received:nodes:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost]

2023-03-27 22:30:03 | [Mutex] waiting for: [received:nodes:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost]

2023-03-27 22:30:03 | [Mutex] waiting for: [received:nodes:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost]

2023-03-27 22:30:03 | [Mutex] waiting for: [received:nodes:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost]

2023-03-27 22:30:03 | [Mutex] received everything.

2023-03-27 22:30:03 | [Mutex] isItemNotified: received:node:c9429d64-d978-4d3e-bb89-06f53d69d696:localhost:node-2487ef8f-9468-4000-bcf7-61a0bdda67e3:Node 2487ef8f-9468-4000-bcf7-61a0bdda67e3 :: true

deleteNodes 1.022s
2023-03-27 22:30:08 |

2023-03-27 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:08 | ------------------------------------

2023-03-27 22:30:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2487ef8f-9468-4000-bcf7-61a0bdda67e3</node></data>

2023-03-27 22:30:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:30:09 | [Mutex] waiting for: [received:nodes:bc6257f7-1806-45e5-ac85-bcecd262f5b7:localhost]

2023-03-27 22:30:09 | [Mutex] waiting for: [received:nodes:bc6257f7-1806-45e5-ac85-bcecd262f5b7:localhost]

2023-03-27 22:30:09 | [Mutex] waiting for: [received:nodes:bc6257f7-1806-45e5-ac85-bcecd262f5b7:localhost]

2023-03-27 22:30:09 | [Mutex] received everything.

2023-03-27 22:30:09 | [Mutex] isItemNotified: received:node:bc6257f7-1806-45e5-ac85-bcecd262f5b7:localhost:node-2487ef8f-9468-4000-bcf7-61a0bdda67e3:Node 2487ef8f-9468-4000-bcf7-61a0bdda67e3 :: false

deleteSubnodes 1.135s
2023-03-27 22:30:07 |

2023-03-27 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:07 | ------------------------------------

2023-03-27 22:30:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node></data>

2023-03-27 22:30:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:30:08 | [Mutex] waiting for: [received:nodes:dd70bf48-a53e-4993-8bf8-e21236804dbf:localhost]

2023-03-27 22:30:08 | [Mutex] waiting for: [received:nodes:dd70bf48-a53e-4993-8bf8-e21236804dbf:localhost]

2023-03-27 22:30:08 | [Mutex] waiting for: [received:nodes:dd70bf48-a53e-4993-8bf8-e21236804dbf:localhost]

2023-03-27 22:30:08 | [Mutex] waiting for: [received:nodes:dd70bf48-a53e-4993-8bf8-e21236804dbf:localhost]

2023-03-27 22:30:08 | [Mutex] received everything.

2023-03-27 22:30:08 | [Mutex] isItemNotified: received:node:dd70bf48-a53e-4993-8bf8-e21236804dbf:localhost:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0 :: false

2023-03-27 22:30:08 | [Mutex] waiting for: [received:nodes:9c41f226-415b-4fdb-991a-6d151ec208a6:localhost]

2023-03-27 22:30:08 | [Mutex] received everything.

2023-03-27 22:30:08 | [Mutex] isItemNotified: received:node:9c41f226-415b-4fdb-991a-6d151ec208a6:localhost:node-4d4c7d79-e098-4b3b-b744-8d38f71884e0:Node 4d4c7d79-e098-4b3b-b744-8d38f71884e0 :: false

publishItemsToNodes 0.260s
2023-03-27 22:30:05 |

2023-03-27 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:05 | ------------------------------------

2023-03-27 22:30:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><item-id>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</item-id><entry><test>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</test></entry></data>

2023-03-27 22:30:05 | 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-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</value></item-id></result>

2023-03-27 22:30:05 | [Mutex] waiting for: [published:item:notifieditem-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10:admin@test-domain.com]

2023-03-27 22:30:05 | [Mutex] received everything.

2023-03-27 22:30:05 | [Mutex] isItemNotified: published:item:notifieditem-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2023-03-27 22:30:06 |

2023-03-27 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:06 | ------------------------------------

2023-03-27 22:30:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><item-id>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</item-id></data>

2023-03-27 22:30:06 | 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-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</value></item-id></result>

2023-03-27 22:30:06 | [Mutex] received everything.

2023-03-27 22:30:06 | [Mutex] isItemNotified: retracted:item:notifieditem-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10:admin@test-domain.com :: true

retrieveItemsFromNodes 0.182s
2023-03-27 22:30:05 |

2023-03-27 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:05 | ------------------------------------

2023-03-27 22:30:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><item-id>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</item-id></data>

2023-03-27 22:30:05 | 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-4d4c7d79-e098-4b3b-b744-8d38f71884e0</value></node><item-id type="text-single" label="Item ID"><value>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</value></item-id><item type="text-multi" label="Item"><value><item id="item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10"><test>item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10</test></item></value></item></result>

2023-03-27 22:30:05 | [Mutex] notify: [retrieved:item:item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10:payload-matches:true:localhost]

2023-03-27 22:30:05 | [Mutex] received everything.

2023-03-27 22:30:05 | [Mutex] isItemNotified: retrieved:item:item-ea6e2d34-d4ad-4bb2-b5d5-76caba46bc10:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-27 22:30:05 |

2023-03-27 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:05 | ------------------------------------

2023-03-27 22:30:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-27 22:30:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</value><value>node-2487ef8f-9468-4000-bcf7-61a0bdda67e3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-27 22:30:05 |

2023-03-27 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:05 | ------------------------------------

2023-03-27 22:30:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4d4c7d79-e098-4b3b-b744-8d38f71884e0)</node-pattern></data>

2023-03-27 22:30:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.161s
2023-03-27 22:30:04 |

2023-03-27 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:04 | ------------------------------------

2023-03-27 22:30:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 22:30:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.135s
2023-03-27 22:30:06 |

2023-03-27 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:30:06 | ------------------------------------

2023-03-27 22:30:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4d4c7d79-e098-4b3b-b744-8d38f71884e0</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 22:30:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>