Generated by TestNG with ReportNG at 22:16 PDT on Thursday 06 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.296s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.082s
2023-07-06 22:30:32 |

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

2023-07-06 22:30:32 | ------------------------------------

2023-07-06 22:30:32 | [Mutex] waiting for: [configured:node:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:node-a88b93f8-eb57-4648-a6d5-102f64958d94]

2023-07-06 22:30:32 | [Mutex] received everything.

2023-07-06 22:30:32 | [Mutex] isItemNotified: configured:node:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:node-a88b93f8-eb57-4648-a6d5-102f64958d94 :: true

2023-07-06 22:30:33 | [Mutex] waiting for: [received:nodes:2afd7fc1-0b43-4d77-a312-bb166c976789:localhost]

2023-07-06 22:30:33 | [Mutex] received everything.

2023-07-06 22:30:33 | [Mutex] isItemNotified: received:node:2afd7fc1-0b43-4d77-a312-bb166c976789:localhost:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:Node 4c23d2e2-69bf-436c-8063-fc92a2bab289 :: true

2023-07-06 22:30:33 | [Mutex] waiting for: [received:nodes:762c7487-257b-45e9-901e-f3397acbd453:localhost]

2023-07-06 22:30:33 | [Mutex] waiting for: [received:nodes:762c7487-257b-45e9-901e-f3397acbd453:localhost]

2023-07-06 22:30:33 | [Mutex] waiting for: [received:nodes:762c7487-257b-45e9-901e-f3397acbd453:localhost]

2023-07-06 22:30:33 | [Mutex] received everything.

2023-07-06 22:30:33 | [Mutex] isItemNotified: received:node:762c7487-257b-45e9-901e-f3397acbd453:localhost:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:Node 4c23d2e2-69bf-436c-8063-fc92a2bab289 :: false

createNodes 1.362s
2023-07-06 22:30:29 |

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

2023-07-06 22:30:29 | ------------------------------------

2023-07-06 22:30:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4c23d2e2-69bf-436c-8063-fc92a2bab289</title></pubsub></data>

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

2023-07-06 22:30:31 | [Mutex] waiting for: [received:nodes:9fe29f4b-0bc9-485a-99a4-f3bbe473df71:localhost]

2023-07-06 22:30:31 | [Mutex] waiting for: [received:nodes:9fe29f4b-0bc9-485a-99a4-f3bbe473df71:localhost]

2023-07-06 22:30:31 | [Mutex] waiting for: [received:nodes:9fe29f4b-0bc9-485a-99a4-f3bbe473df71:localhost]

2023-07-06 22:30:31 | [Mutex] received everything.

2023-07-06 22:30:31 | [Mutex] isItemNotified: received:node:9fe29f4b-0bc9-485a-99a4-f3bbe473df71:localhost:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:Node 4c23d2e2-69bf-436c-8063-fc92a2bab289 :: true

createSubnodes 1.020s
2023-07-06 22:30:31 |

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

2023-07-06 22:30:31 | ------------------------------------

2023-07-06 22:30:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a88b93f8-eb57-4648-a6d5-102f64958d94</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a88b93f8-eb57-4648-a6d5-102f64958d94</title></pubsub></data>

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

2023-07-06 22:30:32 | [Mutex] waiting for: [received:nodes:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost]

2023-07-06 22:30:32 | [Mutex] waiting for: [received:nodes:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost]

2023-07-06 22:30:32 | [Mutex] waiting for: [received:nodes:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost]

2023-07-06 22:30:32 | [Mutex] waiting for: [received:nodes:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost]

2023-07-06 22:30:32 | [Mutex] waiting for: [received:nodes:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost]

2023-07-06 22:30:32 | [Mutex] received everything.

2023-07-06 22:30:32 | [Mutex] isItemNotified: received:node:485b3d08-6146-4632-ad17-13fdc8f17a8a:localhost:node-a88b93f8-eb57-4648-a6d5-102f64958d94:Node a88b93f8-eb57-4648-a6d5-102f64958d94 :: true

deleteNodes 1.017s
2023-07-06 22:30:37 |

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

2023-07-06 22:30:37 | ------------------------------------

2023-07-06 22:30:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a88b93f8-eb57-4648-a6d5-102f64958d94</node></data>

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

2023-07-06 22:30:38 | [Mutex] waiting for: [received:nodes:4e3ad5db-ca64-487b-bb32-961c57be6411:localhost]

2023-07-06 22:30:38 | [Mutex] waiting for: [received:nodes:4e3ad5db-ca64-487b-bb32-961c57be6411:localhost]

2023-07-06 22:30:38 | [Mutex] waiting for: [received:nodes:4e3ad5db-ca64-487b-bb32-961c57be6411:localhost]

2023-07-06 22:30:38 | [Mutex] received everything.

2023-07-06 22:30:38 | [Mutex] isItemNotified: received:node:4e3ad5db-ca64-487b-bb32-961c57be6411:localhost:node-a88b93f8-eb57-4648-a6d5-102f64958d94:Node a88b93f8-eb57-4648-a6d5-102f64958d94 :: false

deleteSubnodes 1.115s
2023-07-06 22:30:36 |

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

2023-07-06 22:30:36 | ------------------------------------

2023-07-06 22:30:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node></data>

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

2023-07-06 22:30:37 | [Mutex] waiting for: [received:nodes:155f6041-098b-460d-9cce-b7e5bc23f306:localhost]

2023-07-06 22:30:37 | [Mutex] waiting for: [received:nodes:155f6041-098b-460d-9cce-b7e5bc23f306:localhost]

2023-07-06 22:30:37 | [Mutex] waiting for: [received:nodes:155f6041-098b-460d-9cce-b7e5bc23f306:localhost]

2023-07-06 22:30:37 | [Mutex] waiting for: [received:nodes:155f6041-098b-460d-9cce-b7e5bc23f306:localhost]

2023-07-06 22:30:37 | [Mutex] received everything.

2023-07-06 22:30:37 | [Mutex] isItemNotified: received:node:155f6041-098b-460d-9cce-b7e5bc23f306:localhost:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:Node 4c23d2e2-69bf-436c-8063-fc92a2bab289 :: false

2023-07-06 22:30:37 | [Mutex] waiting for: [received:nodes:35d47c08-501f-4ad6-91a3-4ff4b014cad8:localhost]

2023-07-06 22:30:37 | [Mutex] received everything.

2023-07-06 22:30:37 | [Mutex] isItemNotified: received:node:35d47c08-501f-4ad6-91a3-4ff4b014cad8:localhost:node-4c23d2e2-69bf-436c-8063-fc92a2bab289:Node 4c23d2e2-69bf-436c-8063-fc92a2bab289 :: false

publishItemsToNodes 0.242s
2023-07-06 22:30:34 |

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

2023-07-06 22:30:34 | ------------------------------------

2023-07-06 22:30:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><item-id>item-084f267d-af5b-4d15-9568-fad10001ebb2</item-id><entry><test>item-084f267d-af5b-4d15-9568-fad10001ebb2</test></entry></data>

2023-07-06 22:30:34 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-084f267d-af5b-4d15-9568-fad10001ebb2</value></item-id></result>

2023-07-06 22:30:34 | [Mutex] waiting for: [published:item:notifieditem-084f267d-af5b-4d15-9568-fad10001ebb2:admin@test-domain.com]

2023-07-06 22:30:34 | [Mutex] received everything.

2023-07-06 22:30:34 | [Mutex] isItemNotified: published:item:notifieditem-084f267d-af5b-4d15-9568-fad10001ebb2:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2023-07-06 22:30:34 |

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

2023-07-06 22:30:34 | ------------------------------------

2023-07-06 22:30:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><item-id>item-084f267d-af5b-4d15-9568-fad10001ebb2</item-id></data>

2023-07-06 22:30:35 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-084f267d-af5b-4d15-9568-fad10001ebb2</value></item-id></result>

2023-07-06 22:30:35 | [Mutex] received everything.

2023-07-06 22:30:35 | [Mutex] isItemNotified: retracted:item:notifieditem-084f267d-af5b-4d15-9568-fad10001ebb2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.176s
2023-07-06 22:30:34 |

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

2023-07-06 22:30:34 | ------------------------------------

2023-07-06 22:30:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><item-id>item-084f267d-af5b-4d15-9568-fad10001ebb2</item-id></data>

2023-07-06 22:30:34 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</value></node><item-id label="Item ID" type="text-single"><value>item-084f267d-af5b-4d15-9568-fad10001ebb2</value></item-id><item label="Item" type="text-multi"><value><item id="item-084f267d-af5b-4d15-9568-fad10001ebb2"><test>item-084f267d-af5b-4d15-9568-fad10001ebb2</test></item></value></item></result>

2023-07-06 22:30:34 | [Mutex] notify: [retrieved:item:item-084f267d-af5b-4d15-9568-fad10001ebb2:payload-matches:true:localhost]

2023-07-06 22:30:34 | [Mutex] received everything.

2023-07-06 22:30:34 | [Mutex] isItemNotified: retrieved:item:item-084f267d-af5b-4d15-9568-fad10001ebb2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2023-07-06 22:30:34 |

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

2023-07-06 22:30:34 | ------------------------------------

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

2023-07-06 22:30:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a88b93f8-eb57-4648-a6d5-102f64958d94</value><value>test</value><value>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-06 22:30:34 |

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

2023-07-06 22:30:34 | ------------------------------------

2023-07-06 22:30:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4c23d2e2-69bf-436c-8063-fc92a2bab289)</node-pattern></data>

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

subscribeNodes 1.115s
2023-07-06 22:30:33 |

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

2023-07-06 22:30:33 | ------------------------------------

2023-07-06 22:30:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2023-07-06 22:30:35 |

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

2023-07-06 22:30:35 | ------------------------------------

2023-07-06 22:30:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4c23d2e2-69bf-436c-8063-fc92a2bab289</node><jids><value>admin@test-domain.com</value></jids></data>

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