Generated by TestNG with ReportNG at 22:48 PDT on Monday 26 September 2022
root@7c41cec37518 / 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.508s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-09-26 23:03:30 |

2022-09-26 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:30 | ------------------------------------

2022-09-26 23:03:30 | [Mutex] waiting for: [configured:node:node-149dba95-68fe-417d-a2f1-d6cf615e716d:node-f9c8cd62-3310-4308-998b-69bb55a10c37]

2022-09-26 23:03:30 | [Mutex] received everything.

2022-09-26 23:03:30 | [Mutex] isItemNotified: configured:node:node-149dba95-68fe-417d-a2f1-d6cf615e716d:node-f9c8cd62-3310-4308-998b-69bb55a10c37 :: true

2022-09-26 23:03:31 | [Mutex] waiting for: [received:nodes:296e1d12-12fb-4de3-a9b4-34217d776f4f:localhost]

2022-09-26 23:03:31 | [Mutex] received everything.

2022-09-26 23:03:31 | [Mutex] isItemNotified: received:node:296e1d12-12fb-4de3-a9b4-34217d776f4f:localhost:node-149dba95-68fe-417d-a2f1-d6cf615e716d:Node 149dba95-68fe-417d-a2f1-d6cf615e716d :: true

2022-09-26 23:03:31 | [Mutex] waiting for: [received:nodes:921bdc4d-16cd-45e8-8885-123a4f80f1d8:localhost]

2022-09-26 23:03:31 | [Mutex] received everything.

2022-09-26 23:03:31 | [Mutex] isItemNotified: received:node:921bdc4d-16cd-45e8-8885-123a4f80f1d8:localhost:node-149dba95-68fe-417d-a2f1-d6cf615e716d:Node 149dba95-68fe-417d-a2f1-d6cf615e716d :: false

createNodes 1.439s
2022-09-26 23:03:27 |

2022-09-26 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:27 | ------------------------------------

2022-09-26 23:03:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 149dba95-68fe-417d-a2f1-d6cf615e716d</title></pubsub></data>

2022-09-26 23:03:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-26 23:03:29 | [Mutex] waiting for: [received:nodes:33216a0e-e65d-4e84-ab89-a5a1f9379148:localhost]

2022-09-26 23:03:29 | [Mutex] received everything.

2022-09-26 23:03:29 | [Mutex] isItemNotified: received:node:33216a0e-e65d-4e84-ab89-a5a1f9379148:localhost:node-149dba95-68fe-417d-a2f1-d6cf615e716d:Node 149dba95-68fe-417d-a2f1-d6cf615e716d :: true

createSubnodes 1.023s
2022-09-26 23:03:29 |

2022-09-26 23:03:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:29 | ------------------------------------

2022-09-26 23:03:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f9c8cd62-3310-4308-998b-69bb55a10c37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f9c8cd62-3310-4308-998b-69bb55a10c37</title></pubsub></data>

2022-09-26 23:03:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-26 23:03:30 | [Mutex] waiting for: [received:nodes:bd1a3c25-b549-4e98-b2f6-ee7335082a56:localhost]

2022-09-26 23:03:30 | [Mutex] received everything.

2022-09-26 23:03:30 | [Mutex] isItemNotified: received:node:bd1a3c25-b549-4e98-b2f6-ee7335082a56:localhost:node-f9c8cd62-3310-4308-998b-69bb55a10c37:Node f9c8cd62-3310-4308-998b-69bb55a10c37 :: true

deleteNodes 1.016s
2022-09-26 23:03:35 |

2022-09-26 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:35 | ------------------------------------

2022-09-26 23:03:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f9c8cd62-3310-4308-998b-69bb55a10c37</node></data>

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

2022-09-26 23:03:36 | [Mutex] waiting for: [received:nodes:829b10f5-99aa-405c-b377-9a65a7ec9346:localhost]

2022-09-26 23:03:36 | [Mutex] waiting for: [received:nodes:829b10f5-99aa-405c-b377-9a65a7ec9346:localhost]

2022-09-26 23:03:36 | [Mutex] received everything.

2022-09-26 23:03:36 | [Mutex] isItemNotified: received:node:829b10f5-99aa-405c-b377-9a65a7ec9346:localhost:node-f9c8cd62-3310-4308-998b-69bb55a10c37:Node f9c8cd62-3310-4308-998b-69bb55a10c37 :: false

deleteSubnodes 1.122s
2022-09-26 23:03:34 |

2022-09-26 23:03:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:34 | ------------------------------------

2022-09-26 23:03:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node></data>

2022-09-26 23:03:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-26 23:03:35 | [Mutex] waiting for: [received:nodes:f3bccf20-c573-4a38-9662-f3490cf04551:localhost]

2022-09-26 23:03:35 | [Mutex] received everything.

2022-09-26 23:03:35 | [Mutex] isItemNotified: received:node:f3bccf20-c573-4a38-9662-f3490cf04551:localhost:node-149dba95-68fe-417d-a2f1-d6cf615e716d:Node 149dba95-68fe-417d-a2f1-d6cf615e716d :: false

2022-09-26 23:03:35 | [Mutex] waiting for: [received:nodes:50ccda62-8a1a-4f39-8c83-6741caf94a4b:localhost]

2022-09-26 23:03:35 | [Mutex] received everything.

2022-09-26 23:03:35 | [Mutex] isItemNotified: received:node:50ccda62-8a1a-4f39-8c83-6741caf94a4b:localhost:node-149dba95-68fe-417d-a2f1-d6cf615e716d:Node 149dba95-68fe-417d-a2f1-d6cf615e716d :: false

publishItemsToNodes 0.319s
2022-09-26 23:03:32 |

2022-09-26 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:32 | ------------------------------------

2022-09-26 23:03:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><item-id>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</item-id><entry><test>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</test></entry></data>

2022-09-26 23:03:32 | 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-f3403356-0a7d-4e5f-88da-31e2f774a3fb</value></item-id></result>

2022-09-26 23:03:32 | [Mutex] waiting for: [published:item:notifieditem-f3403356-0a7d-4e5f-88da-31e2f774a3fb:admin@test-domain.com]

2022-09-26 23:03:32 | [Mutex] received everything.

2022-09-26 23:03:32 | [Mutex] isItemNotified: published:item:notifieditem-f3403356-0a7d-4e5f-88da-31e2f774a3fb:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2022-09-26 23:03:32 |

2022-09-26 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:32 | ------------------------------------

2022-09-26 23:03:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><item-id>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</item-id></data>

2022-09-26 23:03:33 | 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-f3403356-0a7d-4e5f-88da-31e2f774a3fb</value></item-id></result>

2022-09-26 23:03:33 | [Mutex] received everything.

2022-09-26 23:03:33 | [Mutex] isItemNotified: retracted:item:notifieditem-f3403356-0a7d-4e5f-88da-31e2f774a3fb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.122s
2022-09-26 23:03:32 |

2022-09-26 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:32 | ------------------------------------

2022-09-26 23:03:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><item-id>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</item-id></data>

2022-09-26 23:03:32 | 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-149dba95-68fe-417d-a2f1-d6cf615e716d</value></node><item-id type="text-single" label="Item ID"><value>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</value></item-id><item type="text-multi" label="Item"><value><item id="item-f3403356-0a7d-4e5f-88da-31e2f774a3fb"><test>item-f3403356-0a7d-4e5f-88da-31e2f774a3fb</test></item></value></item></result>

2022-09-26 23:03:32 | [Mutex] notify: [retrieved:item:item-f3403356-0a7d-4e5f-88da-31e2f774a3fb:payload-matches:true:localhost]

2022-09-26 23:03:32 | [Mutex] received everything.

2022-09-26 23:03:32 | [Mutex] isItemNotified: retrieved:item:item-f3403356-0a7d-4e5f-88da-31e2f774a3fb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-09-26 23:03:32 |

2022-09-26 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:32 | ------------------------------------

2022-09-26 23:03:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-26 23:03:32 | 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-149dba95-68fe-417d-a2f1-d6cf615e716d</value><value>node-f9c8cd62-3310-4308-998b-69bb55a10c37</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-09-26 23:03:32 |

2022-09-26 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:32 | ------------------------------------

2022-09-26 23:03:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-149dba95-68fe-417d-a2f1-d6cf615e716d)</node-pattern></data>

2022-09-26 23:03:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.115s
2022-09-26 23:03:31 |

2022-09-26 23:03:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:31 | ------------------------------------

2022-09-26 23:03:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-26 23:03:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2022-09-26 23:03:33 |

2022-09-26 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-26 23:03:33 | ------------------------------------

2022-09-26 23:03:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-149dba95-68fe-417d-a2f1-d6cf615e716d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-26 23:03:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>