Generated by TestNG with ReportNG at 22:00 PST on Sunday 20 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.120s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2022-02-20 22:13:42 |

2022-02-20 22:13:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:42 | ------------------------------------

2022-02-20 22:13:42 | [Mutex] waiting for: [configured:node:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:node-4813eee7-a852-4ae3-9267-7426cb15b1df]

2022-02-20 22:13:42 | [Mutex] received everything.

2022-02-20 22:13:42 | [Mutex] isItemNotified: configured:node:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:node-4813eee7-a852-4ae3-9267-7426cb15b1df :: true

2022-02-20 22:13:43 | [Mutex] waiting for: [received:nodes:dc84f725-a85c-41a9-b2c4-c960c29287bc:localhost]

2022-02-20 22:13:43 | [Mutex] received everything.

2022-02-20 22:13:43 | [Mutex] isItemNotified: received:node:dc84f725-a85c-41a9-b2c4-c960c29287bc:localhost:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0 :: true

2022-02-20 22:13:43 | [Mutex] waiting for: [received:nodes:6991471a-2374-4d4f-b8fb-ac2472ac81da:localhost]

2022-02-20 22:13:43 | [Mutex] received everything.

2022-02-20 22:13:43 | [Mutex] isItemNotified: received:node:6991471a-2374-4d4f-b8fb-ac2472ac81da:localhost:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0 :: false

createNodes 1.621s
2022-02-20 22:13:39 |

2022-02-20 22:13:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:39 | ------------------------------------

2022-02-20 22:13:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</title></pubsub></data>

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

2022-02-20 22:13:41 | [Mutex] waiting for: [received:nodes:fa69d3be-1321-4362-9768-40bf8eb80371:localhost]

2022-02-20 22:13:41 | [Mutex] received everything.

2022-02-20 22:13:41 | [Mutex] isItemNotified: received:node:fa69d3be-1321-4362-9768-40bf8eb80371:localhost:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0 :: true

createSubnodes 1.026s
2022-02-20 22:13:41 |

2022-02-20 22:13:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:41 | ------------------------------------

2022-02-20 22:13:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4813eee7-a852-4ae3-9267-7426cb15b1df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4813eee7-a852-4ae3-9267-7426cb15b1df</title></pubsub></data>

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

2022-02-20 22:13:42 | [Mutex] waiting for: [received:nodes:8af57ccf-1b80-4f67-98e4-a35dd81435db:localhost]

2022-02-20 22:13:42 | [Mutex] received everything.

2022-02-20 22:13:42 | [Mutex] isItemNotified: received:node:8af57ccf-1b80-4f67-98e4-a35dd81435db:localhost:node-4813eee7-a852-4ae3-9267-7426cb15b1df:Node 4813eee7-a852-4ae3-9267-7426cb15b1df :: true

deleteNodes 1.018s
2022-02-20 22:13:48 |

2022-02-20 22:13:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:48 | ------------------------------------

2022-02-20 22:13:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4813eee7-a852-4ae3-9267-7426cb15b1df</node></data>

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

2022-02-20 22:13:49 | [Mutex] waiting for: [received:nodes:22ef0cf6-5d9c-46eb-9f65-5dfeee9e8352:localhost]

2022-02-20 22:13:49 | [Mutex] received everything.

2022-02-20 22:13:49 | [Mutex] isItemNotified: received:node:22ef0cf6-5d9c-46eb-9f65-5dfeee9e8352:localhost:node-4813eee7-a852-4ae3-9267-7426cb15b1df:Node 4813eee7-a852-4ae3-9267-7426cb15b1df :: false

deleteSubnodes 1.189s
2022-02-20 22:13:46 |

2022-02-20 22:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:46 | ------------------------------------

2022-02-20 22:13:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node></data>

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

2022-02-20 22:13:48 | [Mutex] waiting for: [received:nodes:8a166fac-4acd-4d7e-bc44-5bafba0925a4:localhost]

2022-02-20 22:13:48 | [Mutex] waiting for: [received:nodes:8a166fac-4acd-4d7e-bc44-5bafba0925a4:localhost]

2022-02-20 22:13:48 | [Mutex] received everything.

2022-02-20 22:13:48 | [Mutex] isItemNotified: received:node:8a166fac-4acd-4d7e-bc44-5bafba0925a4:localhost:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0 :: false

2022-02-20 22:13:48 | [Mutex] waiting for: [received:nodes:ef10c09c-c796-4910-8d31-e521b41a5c1f:localhost]

2022-02-20 22:13:48 | [Mutex] received everything.

2022-02-20 22:13:48 | [Mutex] isItemNotified: received:node:ef10c09c-c796-4910-8d31-e521b41a5c1f:localhost:node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0:Node a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0 :: false

publishItemsToNodes 0.249s
2022-02-20 22:13:44 |

2022-02-20 22:13:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:44 | ------------------------------------

2022-02-20 22:13:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><item-id>item-f2415a43-f59c-4381-a177-2047f20ce4e4</item-id><entry><test>item-f2415a43-f59c-4381-a177-2047f20ce4e4</test></entry></data>

2022-02-20 22:13:44 | 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-f2415a43-f59c-4381-a177-2047f20ce4e4</value></item-id></result>

2022-02-20 22:13:44 | [Mutex] waiting for: [published:item:notifieditem-f2415a43-f59c-4381-a177-2047f20ce4e4:admin@test-domain.com]

2022-02-20 22:13:44 | [Mutex] received everything.

2022-02-20 22:13:44 | [Mutex] isItemNotified: published:item:notifieditem-f2415a43-f59c-4381-a177-2047f20ce4e4:admin@test-domain.com :: true

retractItemsFromNodes 0.333s
2022-02-20 22:13:45 |

2022-02-20 22:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:45 | ------------------------------------

2022-02-20 22:13:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><item-id>item-f2415a43-f59c-4381-a177-2047f20ce4e4</item-id></data>

2022-02-20 22:13:45 | 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-f2415a43-f59c-4381-a177-2047f20ce4e4</value></item-id></result>

2022-02-20 22:13:45 | [Mutex] waiting for: [retracted:item:notifieditem-f2415a43-f59c-4381-a177-2047f20ce4e4:admin@test-domain.com]

2022-02-20 22:13:45 | [Mutex] received everything.

2022-02-20 22:13:45 | [Mutex] isItemNotified: retracted:item:notifieditem-f2415a43-f59c-4381-a177-2047f20ce4e4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2022-02-20 22:13:44 |

2022-02-20 22:13:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:44 | ------------------------------------

2022-02-20 22:13:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><item-id>item-f2415a43-f59c-4381-a177-2047f20ce4e4</item-id></data>

2022-02-20 22:13:45 | 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-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</value></node><item-id type="text-single" label="Item ID"><value>item-f2415a43-f59c-4381-a177-2047f20ce4e4</value></item-id><item type="text-multi" label="Item"><value><item id="item-f2415a43-f59c-4381-a177-2047f20ce4e4"><test>item-f2415a43-f59c-4381-a177-2047f20ce4e4</test></item></value></item></result>

2022-02-20 22:13:45 | [Mutex] notify: [retrieved:item:item-f2415a43-f59c-4381-a177-2047f20ce4e4:payload-matches:true:localhost]

2022-02-20 22:13:45 | [Mutex] received everything.

2022-02-20 22:13:45 | [Mutex] isItemNotified: retrieved:item:item-f2415a43-f59c-4381-a177-2047f20ce4e4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-02-20 22:13:45 |

2022-02-20 22:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:45 | ------------------------------------

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

2022-02-20 22:13:45 | 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-4813eee7-a852-4ae3-9267-7426cb15b1df</value><value>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-20 22:13:45 |

2022-02-20 22:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:45 | ------------------------------------

2022-02-20 22:13:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0)</node-pattern></data>

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

subscribeNodes 1.168s
2022-02-20 22:13:43 |

2022-02-20 22:13:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:43 | ------------------------------------

2022-02-20 22:13:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.239s
2022-02-20 22:13:45 |

2022-02-20 22:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 22:13:45 | ------------------------------------

2022-02-20 22:13:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1c40b7b-db7e-4cef-8b10-a39a7e90d9e0</node><jids><value>admin@test-domain.com</value></jids></data>

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