Generated by TestNG with ReportNG at 21:50 PST on Wednesday 01 February 2023
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.444s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-02-01 22:04:34 |

2023-02-01 22:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:34 | ------------------------------------

2023-02-01 22:04:34 | [Mutex] waiting for: [configured:node:node-8afbe9d7-838a-4140-869a-ce0839796e7c:node-477e4e4b-c247-4ed1-8b70-35856f0e9791]

2023-02-01 22:04:34 | [Mutex] received everything.

2023-02-01 22:04:34 | [Mutex] isItemNotified: configured:node:node-8afbe9d7-838a-4140-869a-ce0839796e7c:node-477e4e4b-c247-4ed1-8b70-35856f0e9791 :: true

2023-02-01 22:04:35 | [Mutex] waiting for: [received:nodes:15635099-ee63-47fa-b1a9-d8e48e5135b7:localhost]

2023-02-01 22:04:35 | [Mutex] received everything.

2023-02-01 22:04:35 | [Mutex] isItemNotified: received:node:15635099-ee63-47fa-b1a9-d8e48e5135b7:localhost:node-8afbe9d7-838a-4140-869a-ce0839796e7c:Node 8afbe9d7-838a-4140-869a-ce0839796e7c :: true

2023-02-01 22:04:35 | [Mutex] waiting for: [received:nodes:0aaff451-cf9d-418a-b99f-7d8805a630a5:localhost]

2023-02-01 22:04:35 | [Mutex] waiting for: [received:nodes:0aaff451-cf9d-418a-b99f-7d8805a630a5:localhost]

2023-02-01 22:04:35 | [Mutex] waiting for: [received:nodes:0aaff451-cf9d-418a-b99f-7d8805a630a5:localhost]

2023-02-01 22:04:35 | [Mutex] waiting for: [received:nodes:0aaff451-cf9d-418a-b99f-7d8805a630a5:localhost]

2023-02-01 22:04:35 | [Mutex] received everything.

2023-02-01 22:04:35 | [Mutex] isItemNotified: received:node:0aaff451-cf9d-418a-b99f-7d8805a630a5:localhost:node-8afbe9d7-838a-4140-869a-ce0839796e7c:Node 8afbe9d7-838a-4140-869a-ce0839796e7c :: false

createNodes 1.436s
2023-02-01 22:04:31 |

2023-02-01 22:04:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:31 | ------------------------------------

2023-02-01 22:04:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8afbe9d7-838a-4140-869a-ce0839796e7c</title></pubsub></data>

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

2023-02-01 22:04:33 | [Mutex] waiting for: [received:nodes:9d3baede-3050-4a9c-8329-63f2f3f646f8:localhost]

2023-02-01 22:04:33 | [Mutex] waiting for: [received:nodes:9d3baede-3050-4a9c-8329-63f2f3f646f8:localhost]

2023-02-01 22:04:33 | [Mutex] waiting for: [received:nodes:9d3baede-3050-4a9c-8329-63f2f3f646f8:localhost]

2023-02-01 22:04:33 | [Mutex] received everything.

2023-02-01 22:04:33 | [Mutex] isItemNotified: received:node:9d3baede-3050-4a9c-8329-63f2f3f646f8:localhost:node-8afbe9d7-838a-4140-869a-ce0839796e7c:Node 8afbe9d7-838a-4140-869a-ce0839796e7c :: true

createSubnodes 1.023s
2023-02-01 22:04:33 |

2023-02-01 22:04:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:33 | ------------------------------------

2023-02-01 22:04:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-477e4e4b-c247-4ed1-8b70-35856f0e9791</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 477e4e4b-c247-4ed1-8b70-35856f0e9791</title></pubsub></data>

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

2023-02-01 22:04:34 | [Mutex] waiting for: [received:nodes:02974cc9-dcab-43fa-9069-02e2baf3872f:localhost]

2023-02-01 22:04:34 | [Mutex] received everything.

2023-02-01 22:04:34 | [Mutex] isItemNotified: received:node:02974cc9-dcab-43fa-9069-02e2baf3872f:localhost:node-477e4e4b-c247-4ed1-8b70-35856f0e9791:Node 477e4e4b-c247-4ed1-8b70-35856f0e9791 :: true

deleteNodes 1.020s
2023-02-01 22:04:39 |

2023-02-01 22:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:39 | ------------------------------------

2023-02-01 22:04:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-477e4e4b-c247-4ed1-8b70-35856f0e9791</node></data>

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

2023-02-01 22:04:40 | [Mutex] waiting for: [received:nodes:fc179e2c-fcc2-49b6-b127-de283447eefd:localhost]

2023-02-01 22:04:40 | [Mutex] waiting for: [received:nodes:fc179e2c-fcc2-49b6-b127-de283447eefd:localhost]

2023-02-01 22:04:40 | [Mutex] received everything.

2023-02-01 22:04:40 | [Mutex] isItemNotified: received:node:fc179e2c-fcc2-49b6-b127-de283447eefd:localhost:node-477e4e4b-c247-4ed1-8b70-35856f0e9791:Node 477e4e4b-c247-4ed1-8b70-35856f0e9791 :: false

deleteSubnodes 1.121s
2023-02-01 22:04:38 |

2023-02-01 22:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:38 | ------------------------------------

2023-02-01 22:04:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node></data>

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

2023-02-01 22:04:39 | [Mutex] waiting for: [received:nodes:988c3f48-e3d3-4bc8-a70d-7d6afa1191da:localhost]

2023-02-01 22:04:39 | [Mutex] waiting for: [received:nodes:988c3f48-e3d3-4bc8-a70d-7d6afa1191da:localhost]

2023-02-01 22:04:39 | [Mutex] waiting for: [received:nodes:988c3f48-e3d3-4bc8-a70d-7d6afa1191da:localhost]

2023-02-01 22:04:39 | [Mutex] received everything.

2023-02-01 22:04:39 | [Mutex] isItemNotified: received:node:988c3f48-e3d3-4bc8-a70d-7d6afa1191da:localhost:node-8afbe9d7-838a-4140-869a-ce0839796e7c:Node 8afbe9d7-838a-4140-869a-ce0839796e7c :: false

2023-02-01 22:04:39 | [Mutex] waiting for: [received:nodes:a37fc1bd-7578-4f29-8c66-7a4f79298409:localhost]

2023-02-01 22:04:39 | [Mutex] received everything.

2023-02-01 22:04:39 | [Mutex] isItemNotified: received:node:a37fc1bd-7578-4f29-8c66-7a4f79298409:localhost:node-8afbe9d7-838a-4140-869a-ce0839796e7c:Node 8afbe9d7-838a-4140-869a-ce0839796e7c :: false

publishItemsToNodes 0.294s
2023-02-01 22:04:36 |

2023-02-01 22:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:36 | ------------------------------------

2023-02-01 22:04:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><item-id>item-c965a0c2-f058-4a04-8403-f3c633abdae8</item-id><entry><test>item-c965a0c2-f058-4a04-8403-f3c633abdae8</test></entry></data>

2023-02-01 22:04:36 | 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-c965a0c2-f058-4a04-8403-f3c633abdae8</value></item-id></result>

2023-02-01 22:04:36 | [Mutex] waiting for: [published:item:notifieditem-c965a0c2-f058-4a04-8403-f3c633abdae8:admin@test-domain.com]

2023-02-01 22:04:36 | [Mutex] received everything.

2023-02-01 22:04:36 | [Mutex] isItemNotified: published:item:notifieditem-c965a0c2-f058-4a04-8403-f3c633abdae8:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2023-02-01 22:04:37 |

2023-02-01 22:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:37 | ------------------------------------

2023-02-01 22:04:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><item-id>item-c965a0c2-f058-4a04-8403-f3c633abdae8</item-id></data>

2023-02-01 22:04:37 | 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-c965a0c2-f058-4a04-8403-f3c633abdae8</value></item-id></result>

2023-02-01 22:04:37 | [Mutex] received everything.

2023-02-01 22:04:37 | [Mutex] isItemNotified: retracted:item:notifieditem-c965a0c2-f058-4a04-8403-f3c633abdae8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2023-02-01 22:04:36 |

2023-02-01 22:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:36 | ------------------------------------

2023-02-01 22:04:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><item-id>item-c965a0c2-f058-4a04-8403-f3c633abdae8</item-id></data>

2023-02-01 22:04:37 | 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-8afbe9d7-838a-4140-869a-ce0839796e7c</value></node><item-id label="Item ID" type="text-single"><value>item-c965a0c2-f058-4a04-8403-f3c633abdae8</value></item-id><item label="Item" type="text-multi"><value><item id="item-c965a0c2-f058-4a04-8403-f3c633abdae8"><test>item-c965a0c2-f058-4a04-8403-f3c633abdae8</test></item></value></item></result>

2023-02-01 22:04:37 | [Mutex] notify: [retrieved:item:item-c965a0c2-f058-4a04-8403-f3c633abdae8:payload-matches:true:localhost]

2023-02-01 22:04:37 | [Mutex] received everything.

2023-02-01 22:04:37 | [Mutex] isItemNotified: retrieved:item:item-c965a0c2-f058-4a04-8403-f3c633abdae8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-01 22:04:37 |

2023-02-01 22:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:37 | ------------------------------------

2023-02-01 22:04:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-01 22:04:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-477e4e4b-c247-4ed1-8b70-35856f0e9791</value><value>node-8afbe9d7-838a-4140-869a-ce0839796e7c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2023-02-01 22:04:37 |

2023-02-01 22:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:37 | ------------------------------------

2023-02-01 22:04:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8afbe9d7-838a-4140-869a-ce0839796e7c)</node-pattern></data>

2023-02-01 22:04:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2023-02-01 22:04:35 |

2023-02-01 22:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:35 | ------------------------------------

2023-02-01 22:04:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 22:04:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.179s
2023-02-01 22:04:37 |

2023-02-01 22:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:04:37 | ------------------------------------

2023-02-01 22:04:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8afbe9d7-838a-4140-869a-ce0839796e7c</node><jids><value>admin@test-domain.com</value></jids></data>

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