Generated by TestNG with ReportNG at 22:19 PDT on Saturday 13 August 2022
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.672s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-08-13 22:33:13 |

2022-08-13 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:13 | ------------------------------------

2022-08-13 22:33:13 | [Mutex] waiting for: [configured:node:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:node-a56a2024-490d-4fcc-9058-10c54af7579c]

2022-08-13 22:33:13 | [Mutex] received everything.

2022-08-13 22:33:13 | [Mutex] isItemNotified: configured:node:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:node-a56a2024-490d-4fcc-9058-10c54af7579c :: true

2022-08-13 22:33:14 | [Mutex] waiting for: [received:nodes:f698dc28-17a1-4008-8c58-0d5b28e8d01a:localhost]

2022-08-13 22:33:14 | [Mutex] received everything.

2022-08-13 22:33:14 | [Mutex] isItemNotified: received:node:f698dc28-17a1-4008-8c58-0d5b28e8d01a:localhost:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d :: true

2022-08-13 22:33:14 | [Mutex] waiting for: [received:nodes:3ae95319-0ebd-4adb-bb26-9aaf7b8c9d31:localhost]

2022-08-13 22:33:14 | [Mutex] received everything.

2022-08-13 22:33:14 | [Mutex] isItemNotified: received:node:3ae95319-0ebd-4adb-bb26-9aaf7b8c9d31:localhost:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d :: false

createNodes 1.493s
2022-08-13 22:33:10 |

2022-08-13 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:10 | ------------------------------------

2022-08-13 22:33:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d</title></pubsub></data>

2022-08-13 22:33:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-13 22:33:12 | [Mutex] waiting for: [received:nodes:69f2deeb-3479-4f3e-959c-869be63da452:localhost]

2022-08-13 22:33:12 | [Mutex] received everything.

2022-08-13 22:33:12 | [Mutex] isItemNotified: received:node:69f2deeb-3479-4f3e-959c-869be63da452:localhost:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d :: true

createSubnodes 1.028s
2022-08-13 22:33:12 |

2022-08-13 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:12 | ------------------------------------

2022-08-13 22:33:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a56a2024-490d-4fcc-9058-10c54af7579c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a56a2024-490d-4fcc-9058-10c54af7579c</title></pubsub></data>

2022-08-13 22:33:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-13 22:33:13 | [Mutex] waiting for: [received:nodes:8969cac2-2219-422d-bdf5-6283afb078e5:localhost]

2022-08-13 22:33:13 | [Mutex] waiting for: [received:nodes:8969cac2-2219-422d-bdf5-6283afb078e5:localhost]

2022-08-13 22:33:13 | [Mutex] received everything.

2022-08-13 22:33:13 | [Mutex] isItemNotified: received:node:8969cac2-2219-422d-bdf5-6283afb078e5:localhost:node-a56a2024-490d-4fcc-9058-10c54af7579c:Node a56a2024-490d-4fcc-9058-10c54af7579c :: true

deleteNodes 1.016s
2022-08-13 22:33:18 |

2022-08-13 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:18 | ------------------------------------

2022-08-13 22:33:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a56a2024-490d-4fcc-9058-10c54af7579c</node></data>

2022-08-13 22:33:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-13 22:33:19 | [Mutex] waiting for: [received:nodes:b0a227d0-938b-40e0-b7a2-ab394efe5fec:localhost]

2022-08-13 22:33:19 | [Mutex] waiting for: [received:nodes:b0a227d0-938b-40e0-b7a2-ab394efe5fec:localhost]

2022-08-13 22:33:19 | [Mutex] received everything.

2022-08-13 22:33:19 | [Mutex] isItemNotified: received:node:b0a227d0-938b-40e0-b7a2-ab394efe5fec:localhost:node-a56a2024-490d-4fcc-9058-10c54af7579c:Node a56a2024-490d-4fcc-9058-10c54af7579c :: false

deleteSubnodes 1.120s
2022-08-13 22:33:17 |

2022-08-13 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:17 | ------------------------------------

2022-08-13 22:33:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node></data>

2022-08-13 22:33:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:aaa67ae6-6f16-49c1-947b-e34670d6911f:localhost]

2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:aaa67ae6-6f16-49c1-947b-e34670d6911f:localhost]

2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:aaa67ae6-6f16-49c1-947b-e34670d6911f:localhost]

2022-08-13 22:33:18 | [Mutex] received everything.

2022-08-13 22:33:18 | [Mutex] isItemNotified: received:node:aaa67ae6-6f16-49c1-947b-e34670d6911f:localhost:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d :: false

2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:b9c38d96-6b6f-48c9-9cd6-7a8261896195:localhost]

2022-08-13 22:33:18 | [Mutex] received everything.

2022-08-13 22:33:18 | [Mutex] isItemNotified: received:node:b9c38d96-6b6f-48c9-9cd6-7a8261896195:localhost:node-7dfa905b-e1a5-49c5-a46f-a8db1281176d:Node 7dfa905b-e1a5-49c5-a46f-a8db1281176d :: false

publishItemsToNodes 0.215s
2022-08-13 22:33:15 |

2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:15 | ------------------------------------

2022-08-13 22:33:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><item-id>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</item-id><entry><test>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</test></entry></data>

2022-08-13 22:33:15 | 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-1e00377a-783d-47b1-ab3a-45c14f22eb6d</value></item-id></result>

2022-08-13 22:33:15 | [Mutex] waiting for: [published:item:notifieditem-1e00377a-783d-47b1-ab3a-45c14f22eb6d:admin@test-domain.com]

2022-08-13 22:33:15 | [Mutex] received everything.

2022-08-13 22:33:15 | [Mutex] isItemNotified: published:item:notifieditem-1e00377a-783d-47b1-ab3a-45c14f22eb6d:admin@test-domain.com :: true

retractItemsFromNodes 0.333s
2022-08-13 22:33:16 |

2022-08-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:16 | ------------------------------------

2022-08-13 22:33:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><item-id>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</item-id></data>

2022-08-13 22:33:16 | 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-1e00377a-783d-47b1-ab3a-45c14f22eb6d</value></item-id></result>

2022-08-13 22:33:16 | [Mutex] waiting for: [retracted:item:notifieditem-1e00377a-783d-47b1-ab3a-45c14f22eb6d:admin@test-domain.com]

2022-08-13 22:33:16 | [Mutex] received everything.

2022-08-13 22:33:16 | [Mutex] isItemNotified: retracted:item:notifieditem-1e00377a-783d-47b1-ab3a-45c14f22eb6d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2022-08-13 22:33:15 |

2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:15 | ------------------------------------

2022-08-13 22:33:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><item-id>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</item-id></data>

2022-08-13 22:33:16 | 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-7dfa905b-e1a5-49c5-a46f-a8db1281176d</value></node><item-id type="text-single" label="Item ID"><value>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</value></item-id><item type="text-multi" label="Item"><value><item id="item-1e00377a-783d-47b1-ab3a-45c14f22eb6d"><test>item-1e00377a-783d-47b1-ab3a-45c14f22eb6d</test></item></value></item></result>

2022-08-13 22:33:16 | [Mutex] notify: [retrieved:item:item-1e00377a-783d-47b1-ab3a-45c14f22eb6d:payload-matches:true:localhost]

2022-08-13 22:33:16 | [Mutex] received everything.

2022-08-13 22:33:16 | [Mutex] isItemNotified: retrieved:item:item-1e00377a-783d-47b1-ab3a-45c14f22eb6d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-13 22:33:16 |

2022-08-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:16 | ------------------------------------

2022-08-13 22:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-13 22:33:16 | 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-7dfa905b-e1a5-49c5-a46f-a8db1281176d</value><value>node-a56a2024-490d-4fcc-9058-10c54af7579c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-08-13 22:33:16 |

2022-08-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:16 | ------------------------------------

2022-08-13 22:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7dfa905b-e1a5-49c5-a46f-a8db1281176d)</node-pattern></data>

2022-08-13 22:33:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.148s
2022-08-13 22:33:14 |

2022-08-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:14 | ------------------------------------

2022-08-13 22:33:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-13 22:33:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.144s
2022-08-13 22:33:16 |

2022-08-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-13 22:33:16 | ------------------------------------

2022-08-13 22:33:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7dfa905b-e1a5-49c5-a46f-a8db1281176d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-13 22:33:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>