Generated by TestNG with ReportNG at 22:47 PDT on Sunday 06 August 2023
root@4fbf295f62bd / 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.345s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2023-08-06 23:01:18 |

2023-08-06 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:18 | ------------------------------------

2023-08-06 23:01:18 | [Mutex] waiting for: [configured:node:node-9fdb4d27-9512-455f-81c8-9554355b0927:node-c8882bcd-e8c1-4464-a398-85812f8e7e9b]

2023-08-06 23:01:19 | [Mutex] received everything.

2023-08-06 23:01:19 | [Mutex] isItemNotified: configured:node:node-9fdb4d27-9512-455f-81c8-9554355b0927:node-c8882bcd-e8c1-4464-a398-85812f8e7e9b :: true

2023-08-06 23:01:20 | [Mutex] waiting for: [received:nodes:461c5efa-e19d-4be5-a00e-59b6cc075f4f:localhost]

2023-08-06 23:01:20 | [Mutex] received everything.

2023-08-06 23:01:20 | [Mutex] isItemNotified: received:node:461c5efa-e19d-4be5-a00e-59b6cc075f4f:localhost:node-9fdb4d27-9512-455f-81c8-9554355b0927:Node 9fdb4d27-9512-455f-81c8-9554355b0927 :: true

2023-08-06 23:01:20 | [Mutex] waiting for: [received:nodes:4cc04f62-f764-4e39-83c5-b761e5754782:localhost]

2023-08-06 23:01:20 | [Mutex] waiting for: [received:nodes:4cc04f62-f764-4e39-83c5-b761e5754782:localhost]

2023-08-06 23:01:20 | [Mutex] waiting for: [received:nodes:4cc04f62-f764-4e39-83c5-b761e5754782:localhost]

2023-08-06 23:01:20 | [Mutex] waiting for: [received:nodes:4cc04f62-f764-4e39-83c5-b761e5754782:localhost]

2023-08-06 23:01:20 | [Mutex] received everything.

2023-08-06 23:01:20 | [Mutex] isItemNotified: received:node:4cc04f62-f764-4e39-83c5-b761e5754782:localhost:node-9fdb4d27-9512-455f-81c8-9554355b0927:Node 9fdb4d27-9512-455f-81c8-9554355b0927 :: false

createNodes 1.378s
2023-08-06 23:01:16 |

2023-08-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:16 | ------------------------------------

2023-08-06 23:01:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9fdb4d27-9512-455f-81c8-9554355b0927</title></pubsub></data>

2023-08-06 23:01:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 23:01:17 | [Mutex] waiting for: [received:nodes:cc0b54e1-7bc2-4ed5-a268-e717acff1476:localhost]

2023-08-06 23:01:17 | [Mutex] waiting for: [received:nodes:cc0b54e1-7bc2-4ed5-a268-e717acff1476:localhost]

2023-08-06 23:01:17 | [Mutex] waiting for: [received:nodes:cc0b54e1-7bc2-4ed5-a268-e717acff1476:localhost]

2023-08-06 23:01:17 | [Mutex] waiting for: [received:nodes:cc0b54e1-7bc2-4ed5-a268-e717acff1476:localhost]

2023-08-06 23:01:17 | [Mutex] received everything.

2023-08-06 23:01:17 | [Mutex] isItemNotified: received:node:cc0b54e1-7bc2-4ed5-a268-e717acff1476:localhost:node-9fdb4d27-9512-455f-81c8-9554355b0927:Node 9fdb4d27-9512-455f-81c8-9554355b0927 :: true

createSubnodes 1.024s
2023-08-06 23:01:17 |

2023-08-06 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:17 | ------------------------------------

2023-08-06 23:01:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8882bcd-e8c1-4464-a398-85812f8e7e9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8882bcd-e8c1-4464-a398-85812f8e7e9b</title></pubsub></data>

2023-08-06 23:01:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 23:01:18 | [Mutex] waiting for: [received:nodes:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost]

2023-08-06 23:01:18 | [Mutex] waiting for: [received:nodes:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost]

2023-08-06 23:01:18 | [Mutex] waiting for: [received:nodes:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost]

2023-08-06 23:01:18 | [Mutex] waiting for: [received:nodes:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost]

2023-08-06 23:01:18 | [Mutex] waiting for: [received:nodes:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost]

2023-08-06 23:01:18 | [Mutex] received everything.

2023-08-06 23:01:18 | [Mutex] isItemNotified: received:node:7bdddc5e-0e51-4231-9b0a-7bb2879af899:localhost:node-c8882bcd-e8c1-4464-a398-85812f8e7e9b:Node c8882bcd-e8c1-4464-a398-85812f8e7e9b :: true

deleteNodes 1.026s
2023-08-06 23:01:24 |

2023-08-06 23:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:24 | ------------------------------------

2023-08-06 23:01:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8882bcd-e8c1-4464-a398-85812f8e7e9b</node></data>

2023-08-06 23:01:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 23:01:25 | [Mutex] waiting for: [received:nodes:3b7e3a2f-b3bb-4d56-9339-e1f137d92a5b:localhost]

2023-08-06 23:01:25 | [Mutex] waiting for: [received:nodes:3b7e3a2f-b3bb-4d56-9339-e1f137d92a5b:localhost]

2023-08-06 23:01:25 | [Mutex] received everything.

2023-08-06 23:01:25 | [Mutex] isItemNotified: received:node:3b7e3a2f-b3bb-4d56-9339-e1f137d92a5b:localhost:node-c8882bcd-e8c1-4464-a398-85812f8e7e9b:Node c8882bcd-e8c1-4464-a398-85812f8e7e9b :: false

deleteSubnodes 1.104s
2023-08-06 23:01:23 |

2023-08-06 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:23 | ------------------------------------

2023-08-06 23:01:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node></data>

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

2023-08-06 23:01:24 | [Mutex] waiting for: [received:nodes:62ea8140-9293-4e65-b48b-780254368301:localhost]

2023-08-06 23:01:24 | [Mutex] waiting for: [received:nodes:62ea8140-9293-4e65-b48b-780254368301:localhost]

2023-08-06 23:01:24 | [Mutex] waiting for: [received:nodes:62ea8140-9293-4e65-b48b-780254368301:localhost]

2023-08-06 23:01:24 | [Mutex] waiting for: [received:nodes:62ea8140-9293-4e65-b48b-780254368301:localhost]

2023-08-06 23:01:24 | [Mutex] received everything.

2023-08-06 23:01:24 | [Mutex] isItemNotified: received:node:62ea8140-9293-4e65-b48b-780254368301:localhost:node-9fdb4d27-9512-455f-81c8-9554355b0927:Node 9fdb4d27-9512-455f-81c8-9554355b0927 :: false

2023-08-06 23:01:24 | [Mutex] waiting for: [received:nodes:7e0cfa55-e230-42a2-92c1-9768b941071c:localhost]

2023-08-06 23:01:24 | [Mutex] received everything.

2023-08-06 23:01:24 | [Mutex] isItemNotified: received:node:7e0cfa55-e230-42a2-92c1-9768b941071c:localhost:node-9fdb4d27-9512-455f-81c8-9554355b0927:Node 9fdb4d27-9512-455f-81c8-9554355b0927 :: false

publishItemsToNodes 0.268s
2023-08-06 23:01:21 |

2023-08-06 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:21 | ------------------------------------

2023-08-06 23:01:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><item-id>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</item-id><entry><test>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</test></entry></data>

2023-08-06 23:01:21 | 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-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</value></item-id></result>

2023-08-06 23:01:21 | [Mutex] waiting for: [published:item:notifieditem-59ac5cc8-47f6-489c-85d9-9e4d688e24c9:admin@test-domain.com]

2023-08-06 23:01:21 | [Mutex] received everything.

2023-08-06 23:01:21 | [Mutex] isItemNotified: published:item:notifieditem-59ac5cc8-47f6-489c-85d9-9e4d688e24c9:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-08-06 23:01:21 |

2023-08-06 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:21 | ------------------------------------

2023-08-06 23:01:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><item-id>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</item-id></data>

2023-08-06 23:01:22 | 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-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</value></item-id></result>

2023-08-06 23:01:22 | [Mutex] received everything.

2023-08-06 23:01:22 | [Mutex] isItemNotified: retracted:item:notifieditem-59ac5cc8-47f6-489c-85d9-9e4d688e24c9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2023-08-06 23:01:21 |

2023-08-06 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:21 | ------------------------------------

2023-08-06 23:01:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><item-id>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</item-id></data>

2023-08-06 23:01:21 | 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-9fdb4d27-9512-455f-81c8-9554355b0927</value></node><item-id type="text-single" label="Item ID"><value>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</value></item-id><item type="text-multi" label="Item"><value><item id="item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9"><test>item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9</test></item></value></item></result>

2023-08-06 23:01:21 | [Mutex] notify: [retrieved:item:item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9:payload-matches:true:localhost]

2023-08-06 23:01:21 | [Mutex] received everything.

2023-08-06 23:01:21 | [Mutex] isItemNotified: retrieved:item:item-59ac5cc8-47f6-489c-85d9-9e4d688e24c9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2023-08-06 23:01:21 |

2023-08-06 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:21 | ------------------------------------

2023-08-06 23:01:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-08-06 23:01:21 | 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-9fdb4d27-9512-455f-81c8-9554355b0927</value><value>node-c8882bcd-e8c1-4464-a398-85812f8e7e9b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-06 23:01:21 |

2023-08-06 23:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:21 | ------------------------------------

2023-08-06 23:01:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9fdb4d27-9512-455f-81c8-9554355b0927)</node-pattern></data>

2023-08-06 23:01:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.112s
2023-08-06 23:01:20 |

2023-08-06 23:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:20 | ------------------------------------

2023-08-06 23:01:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-06 23:01:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.155s
2023-08-06 23:01:22 |

2023-08-06 23:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:01:22 | ------------------------------------

2023-08-06 23:01:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9fdb4d27-9512-455f-81c8-9554355b0927</node><jids><value>admin@test-domain.com</value></jids></data>

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