Generated by TestNG with ReportNG at 23:45 PDT on Friday 27 October 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.625s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2023-10-28 00:00:12 |

2023-10-28 00:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:12 | ------------------------------------

2023-10-28 00:00:12 | [Mutex] waiting for: [configured:node:node-8e0304b0-0edf-4000-80ec-94471efd77d9:node-92066553-82c5-4eb5-b7b0-6a119dd4ef91]

2023-10-28 00:00:12 | [Mutex] received everything.

2023-10-28 00:00:12 | [Mutex] isItemNotified: configured:node:node-8e0304b0-0edf-4000-80ec-94471efd77d9:node-92066553-82c5-4eb5-b7b0-6a119dd4ef91 :: true

2023-10-28 00:00:13 | [Mutex] waiting for: [received:nodes:59ef586d-b05f-4fa8-8b59-f8f00dd958bf:localhost]

2023-10-28 00:00:13 | [Mutex] received everything.

2023-10-28 00:00:13 | [Mutex] isItemNotified: received:node:59ef586d-b05f-4fa8-8b59-f8f00dd958bf:localhost:node-8e0304b0-0edf-4000-80ec-94471efd77d9:Node 8e0304b0-0edf-4000-80ec-94471efd77d9 :: true

2023-10-28 00:00:13 | [Mutex] waiting for: [received:nodes:97e0cce7-8ddb-41e6-9d6d-2a8954813a69:localhost]

2023-10-28 00:00:13 | [Mutex] waiting for: [received:nodes:97e0cce7-8ddb-41e6-9d6d-2a8954813a69:localhost]

2023-10-28 00:00:13 | [Mutex] waiting for: [received:nodes:97e0cce7-8ddb-41e6-9d6d-2a8954813a69:localhost]

2023-10-28 00:00:13 | [Mutex] waiting for: [received:nodes:97e0cce7-8ddb-41e6-9d6d-2a8954813a69:localhost]

2023-10-28 00:00:13 | [Mutex] received everything.

2023-10-28 00:00:13 | [Mutex] isItemNotified: received:node:97e0cce7-8ddb-41e6-9d6d-2a8954813a69:localhost:node-8e0304b0-0edf-4000-80ec-94471efd77d9:Node 8e0304b0-0edf-4000-80ec-94471efd77d9 :: false

createNodes 1.570s
2023-10-28 00:00:09 |

2023-10-28 00:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:09 | ------------------------------------

2023-10-28 00:00:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8e0304b0-0edf-4000-80ec-94471efd77d9</title></pubsub></data>

2023-10-28 00:00:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:00:11 | [Mutex] waiting for: [received:nodes:5acb71d0-f6b0-41d9-93e1-a46d09856b8c:localhost]

2023-10-28 00:00:11 | [Mutex] waiting for: [received:nodes:5acb71d0-f6b0-41d9-93e1-a46d09856b8c:localhost]

2023-10-28 00:00:11 | [Mutex] waiting for: [received:nodes:5acb71d0-f6b0-41d9-93e1-a46d09856b8c:localhost]

2023-10-28 00:00:11 | [Mutex] waiting for: [received:nodes:5acb71d0-f6b0-41d9-93e1-a46d09856b8c:localhost]

2023-10-28 00:00:11 | [Mutex] received everything.

2023-10-28 00:00:11 | [Mutex] isItemNotified: received:node:5acb71d0-f6b0-41d9-93e1-a46d09856b8c:localhost:node-8e0304b0-0edf-4000-80ec-94471efd77d9:Node 8e0304b0-0edf-4000-80ec-94471efd77d9 :: true

createSubnodes 1.032s
2023-10-28 00:00:11 |

2023-10-28 00:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:11 | ------------------------------------

2023-10-28 00:00:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-92066553-82c5-4eb5-b7b0-6a119dd4ef91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 92066553-82c5-4eb5-b7b0-6a119dd4ef91</title></pubsub></data>

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

2023-10-28 00:00:12 | [Mutex] waiting for: [received:nodes:5837462f-77a3-4d5f-861a-078ae870c07d:localhost]

2023-10-28 00:00:12 | [Mutex] waiting for: [received:nodes:5837462f-77a3-4d5f-861a-078ae870c07d:localhost]

2023-10-28 00:00:12 | [Mutex] waiting for: [received:nodes:5837462f-77a3-4d5f-861a-078ae870c07d:localhost]

2023-10-28 00:00:12 | [Mutex] waiting for: [received:nodes:5837462f-77a3-4d5f-861a-078ae870c07d:localhost]

2023-10-28 00:00:12 | [Mutex] waiting for: [received:nodes:5837462f-77a3-4d5f-861a-078ae870c07d:localhost]

2023-10-28 00:00:12 | [Mutex] received everything.

2023-10-28 00:00:12 | [Mutex] isItemNotified: received:node:5837462f-77a3-4d5f-861a-078ae870c07d:localhost:node-92066553-82c5-4eb5-b7b0-6a119dd4ef91:Node 92066553-82c5-4eb5-b7b0-6a119dd4ef91 :: true

deleteNodes 1.023s
2023-10-28 00:00:17 |

2023-10-28 00:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:17 | ------------------------------------

2023-10-28 00:00:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-92066553-82c5-4eb5-b7b0-6a119dd4ef91</node></data>

2023-10-28 00:00:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:00:18 | [Mutex] waiting for: [received:nodes:5d1f4301-64ba-40fd-83ea-a6b56e8ba3ca:localhost]

2023-10-28 00:00:18 | [Mutex] waiting for: [received:nodes:5d1f4301-64ba-40fd-83ea-a6b56e8ba3ca:localhost]

2023-10-28 00:00:18 | [Mutex] waiting for: [received:nodes:5d1f4301-64ba-40fd-83ea-a6b56e8ba3ca:localhost]

2023-10-28 00:00:18 | [Mutex] received everything.

2023-10-28 00:00:18 | [Mutex] isItemNotified: received:node:5d1f4301-64ba-40fd-83ea-a6b56e8ba3ca:localhost:node-92066553-82c5-4eb5-b7b0-6a119dd4ef91:Node 92066553-82c5-4eb5-b7b0-6a119dd4ef91 :: false

deleteSubnodes 1.123s
2023-10-28 00:00:16 |

2023-10-28 00:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:16 | ------------------------------------

2023-10-28 00:00:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node></data>

2023-10-28 00:00:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-28 00:00:17 | [Mutex] waiting for: [received:nodes:8cf93441-7e23-4680-88ae-6563da80ae47:localhost]

2023-10-28 00:00:17 | [Mutex] waiting for: [received:nodes:8cf93441-7e23-4680-88ae-6563da80ae47:localhost]

2023-10-28 00:00:17 | [Mutex] waiting for: [received:nodes:8cf93441-7e23-4680-88ae-6563da80ae47:localhost]

2023-10-28 00:00:17 | [Mutex] waiting for: [received:nodes:8cf93441-7e23-4680-88ae-6563da80ae47:localhost]

2023-10-28 00:00:17 | [Mutex] received everything.

2023-10-28 00:00:17 | [Mutex] isItemNotified: received:node:8cf93441-7e23-4680-88ae-6563da80ae47:localhost:node-8e0304b0-0edf-4000-80ec-94471efd77d9:Node 8e0304b0-0edf-4000-80ec-94471efd77d9 :: false

2023-10-28 00:00:17 | [Mutex] waiting for: [received:nodes:b9ffd326-d62e-4b54-8c28-c715d9443499:localhost]

2023-10-28 00:00:17 | [Mutex] received everything.

2023-10-28 00:00:17 | [Mutex] isItemNotified: received:node:b9ffd326-d62e-4b54-8c28-c715d9443499:localhost:node-8e0304b0-0edf-4000-80ec-94471efd77d9:Node 8e0304b0-0edf-4000-80ec-94471efd77d9 :: false

publishItemsToNodes 0.235s
2023-10-28 00:00:14 |

2023-10-28 00:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:14 | ------------------------------------

2023-10-28 00:00:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><item-id>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</item-id><entry><test>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</test></entry></data>

2023-10-28 00:00:14 | 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-8bed7964-5ffe-401d-a18a-01b42e3be81b</value></item-id></result>

2023-10-28 00:00:14 | [Mutex] waiting for: [published:item:notifieditem-8bed7964-5ffe-401d-a18a-01b42e3be81b:admin@test-domain.com]

2023-10-28 00:00:14 | [Mutex] received everything.

2023-10-28 00:00:14 | [Mutex] isItemNotified: published:item:notifieditem-8bed7964-5ffe-401d-a18a-01b42e3be81b:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2023-10-28 00:00:15 |

2023-10-28 00:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:15 | ------------------------------------

2023-10-28 00:00:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><item-id>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</item-id></data>

2023-10-28 00:00:15 | 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-8bed7964-5ffe-401d-a18a-01b42e3be81b</value></item-id></result>

2023-10-28 00:00:15 | [Mutex] received everything.

2023-10-28 00:00:15 | [Mutex] isItemNotified: retracted:item:notifieditem-8bed7964-5ffe-401d-a18a-01b42e3be81b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2023-10-28 00:00:14 |

2023-10-28 00:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:14 | ------------------------------------

2023-10-28 00:00:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><item-id>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</item-id></data>

2023-10-28 00:00:15 | 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-8e0304b0-0edf-4000-80ec-94471efd77d9</value></node><item-id type="text-single" label="Item ID"><value>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bed7964-5ffe-401d-a18a-01b42e3be81b"><test>item-8bed7964-5ffe-401d-a18a-01b42e3be81b</test></item></value></item></result>

2023-10-28 00:00:15 | [Mutex] notify: [retrieved:item:item-8bed7964-5ffe-401d-a18a-01b42e3be81b:payload-matches:true:localhost]

2023-10-28 00:00:15 | [Mutex] received everything.

2023-10-28 00:00:15 | [Mutex] isItemNotified: retrieved:item:item-8bed7964-5ffe-401d-a18a-01b42e3be81b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-10-28 00:00:15 |

2023-10-28 00:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:15 | ------------------------------------

2023-10-28 00:00:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-10-28 00:00:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-92066553-82c5-4eb5-b7b0-6a119dd4ef91</value><value>test</value><value>node-8e0304b0-0edf-4000-80ec-94471efd77d9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-10-28 00:00:15 |

2023-10-28 00:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:15 | ------------------------------------

2023-10-28 00:00:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8e0304b0-0edf-4000-80ec-94471efd77d9)</node-pattern></data>

2023-10-28 00:00:15 | 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-10-28 00:00:13 |

2023-10-28 00:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:13 | ------------------------------------

2023-10-28 00:00:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-28 00:00:13 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2023-10-28 00:00:15 |

2023-10-28 00:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-28 00:00:15 | ------------------------------------

2023-10-28 00:00:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8e0304b0-0edf-4000-80ec-94471efd77d9</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-28 00:00:15 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>