Generated by TestNG with ReportNG at 22:47 PDT on Monday 03 April 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.441s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-04-03 23:02:09 |

2023-04-03 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:09 | ------------------------------------

2023-04-03 23:02:09 | [Mutex] waiting for: [configured:node:node-cc7f2618-944b-4505-a25f-ef40daefdad3:node-205a90a5-9bbf-44aa-8291-d9269cc09684]

2023-04-03 23:02:09 | [Mutex] received everything.

2023-04-03 23:02:09 | [Mutex] isItemNotified: configured:node:node-cc7f2618-944b-4505-a25f-ef40daefdad3:node-205a90a5-9bbf-44aa-8291-d9269cc09684 :: true

2023-04-03 23:02:10 | [Mutex] waiting for: [received:nodes:d1981992-e1cf-4fd6-ab4d-346b0183a848:localhost]

2023-04-03 23:02:10 | [Mutex] received everything.

2023-04-03 23:02:10 | [Mutex] isItemNotified: received:node:d1981992-e1cf-4fd6-ab4d-346b0183a848:localhost:node-cc7f2618-944b-4505-a25f-ef40daefdad3:Node cc7f2618-944b-4505-a25f-ef40daefdad3 :: true

2023-04-03 23:02:10 | [Mutex] waiting for: [received:nodes:a7e2eec3-8c88-4b22-82bc-9070b6135417:localhost]

2023-04-03 23:02:10 | [Mutex] waiting for: [received:nodes:a7e2eec3-8c88-4b22-82bc-9070b6135417:localhost]

2023-04-03 23:02:10 | [Mutex] waiting for: [received:nodes:a7e2eec3-8c88-4b22-82bc-9070b6135417:localhost]

2023-04-03 23:02:10 | [Mutex] received everything.

2023-04-03 23:02:10 | [Mutex] isItemNotified: received:node:a7e2eec3-8c88-4b22-82bc-9070b6135417:localhost:node-cc7f2618-944b-4505-a25f-ef40daefdad3:Node cc7f2618-944b-4505-a25f-ef40daefdad3 :: false

createNodes 1.426s
2023-04-03 23:02:06 |

2023-04-03 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:06 | ------------------------------------

2023-04-03 23:02:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cc7f2618-944b-4505-a25f-ef40daefdad3</title></pubsub></data>

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

2023-04-03 23:02:08 | [Mutex] waiting for: [received:nodes:0c29549d-5366-41b7-ae0b-51438d757a53:localhost]

2023-04-03 23:02:08 | [Mutex] waiting for: [received:nodes:0c29549d-5366-41b7-ae0b-51438d757a53:localhost]

2023-04-03 23:02:08 | [Mutex] waiting for: [received:nodes:0c29549d-5366-41b7-ae0b-51438d757a53:localhost]

2023-04-03 23:02:08 | [Mutex] received everything.

2023-04-03 23:02:08 | [Mutex] isItemNotified: received:node:0c29549d-5366-41b7-ae0b-51438d757a53:localhost:node-cc7f2618-944b-4505-a25f-ef40daefdad3:Node cc7f2618-944b-4505-a25f-ef40daefdad3 :: true

createSubnodes 1.022s
2023-04-03 23:02:08 |

2023-04-03 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:08 | ------------------------------------

2023-04-03 23:02:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-205a90a5-9bbf-44aa-8291-d9269cc09684</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 205a90a5-9bbf-44aa-8291-d9269cc09684</title></pubsub></data>

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

2023-04-03 23:02:09 | [Mutex] waiting for: [received:nodes:dd270df2-6b52-4fb2-9e8f-04fb583f5252:localhost]

2023-04-03 23:02:09 | [Mutex] waiting for: [received:nodes:dd270df2-6b52-4fb2-9e8f-04fb583f5252:localhost]

2023-04-03 23:02:09 | [Mutex] waiting for: [received:nodes:dd270df2-6b52-4fb2-9e8f-04fb583f5252:localhost]

2023-04-03 23:02:09 | [Mutex] waiting for: [received:nodes:dd270df2-6b52-4fb2-9e8f-04fb583f5252:localhost]

2023-04-03 23:02:09 | [Mutex] received everything.

2023-04-03 23:02:09 | [Mutex] isItemNotified: received:node:dd270df2-6b52-4fb2-9e8f-04fb583f5252:localhost:node-205a90a5-9bbf-44aa-8291-d9269cc09684:Node 205a90a5-9bbf-44aa-8291-d9269cc09684 :: true

deleteNodes 1.018s
2023-04-03 23:02:14 |

2023-04-03 23:02:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:14 | ------------------------------------

2023-04-03 23:02:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-205a90a5-9bbf-44aa-8291-d9269cc09684</node></data>

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

2023-04-03 23:02:15 | [Mutex] waiting for: [received:nodes:1c429e62-d0e9-415d-ad84-762d00817b53:localhost]

2023-04-03 23:02:15 | [Mutex] received everything.

2023-04-03 23:02:15 | [Mutex] isItemNotified: received:node:1c429e62-d0e9-415d-ad84-762d00817b53:localhost:node-205a90a5-9bbf-44aa-8291-d9269cc09684:Node 205a90a5-9bbf-44aa-8291-d9269cc09684 :: false

deleteSubnodes 1.147s
2023-04-03 23:02:13 |

2023-04-03 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:13 | ------------------------------------

2023-04-03 23:02:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node></data>

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

2023-04-03 23:02:14 | [Mutex] waiting for: [received:nodes:e9625af4-c780-4f71-8af9-4eb94519fdb0:localhost]

2023-04-03 23:02:14 | [Mutex] waiting for: [received:nodes:e9625af4-c780-4f71-8af9-4eb94519fdb0:localhost]

2023-04-03 23:02:14 | [Mutex] waiting for: [received:nodes:e9625af4-c780-4f71-8af9-4eb94519fdb0:localhost]

2023-04-03 23:02:14 | [Mutex] waiting for: [received:nodes:e9625af4-c780-4f71-8af9-4eb94519fdb0:localhost]

2023-04-03 23:02:14 | [Mutex] received everything.

2023-04-03 23:02:14 | [Mutex] isItemNotified: received:node:e9625af4-c780-4f71-8af9-4eb94519fdb0:localhost:node-cc7f2618-944b-4505-a25f-ef40daefdad3:Node cc7f2618-944b-4505-a25f-ef40daefdad3 :: false

2023-04-03 23:02:14 | [Mutex] waiting for: [received:nodes:1e26e34f-993e-4e71-9395-571c36af6207:localhost]

2023-04-03 23:02:14 | [Mutex] received everything.

2023-04-03 23:02:14 | [Mutex] isItemNotified: received:node:1e26e34f-993e-4e71-9395-571c36af6207:localhost:node-cc7f2618-944b-4505-a25f-ef40daefdad3:Node cc7f2618-944b-4505-a25f-ef40daefdad3 :: false

publishItemsToNodes 0.190s
2023-04-03 23:02:11 |

2023-04-03 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:11 | ------------------------------------

2023-04-03 23:02:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><item-id>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</item-id><entry><test>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</test></entry></data>

2023-04-03 23:02:11 | 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-af3ddc3a-8247-4827-bafc-55731e3a4e77</value></item-id></result>

2023-04-03 23:02:11 | [Mutex] waiting for: [published:item:notifieditem-af3ddc3a-8247-4827-bafc-55731e3a4e77:admin@test-domain.com]

2023-04-03 23:02:11 | [Mutex] received everything.

2023-04-03 23:02:11 | [Mutex] isItemNotified: published:item:notifieditem-af3ddc3a-8247-4827-bafc-55731e3a4e77:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2023-04-03 23:02:12 |

2023-04-03 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:12 | ------------------------------------

2023-04-03 23:02:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><item-id>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</item-id></data>

2023-04-03 23:02:12 | 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-af3ddc3a-8247-4827-bafc-55731e3a4e77</value></item-id></result>

2023-04-03 23:02:12 | [Mutex] received everything.

2023-04-03 23:02:12 | [Mutex] isItemNotified: retracted:item:notifieditem-af3ddc3a-8247-4827-bafc-55731e3a4e77:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2023-04-03 23:02:11 |

2023-04-03 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:11 | ------------------------------------

2023-04-03 23:02:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><item-id>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</item-id></data>

2023-04-03 23:02:11 | 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-cc7f2618-944b-4505-a25f-ef40daefdad3</value></node><item-id type="text-single" label="Item ID"><value>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</value></item-id><item type="text-multi" label="Item"><value><item id="item-af3ddc3a-8247-4827-bafc-55731e3a4e77"><test>item-af3ddc3a-8247-4827-bafc-55731e3a4e77</test></item></value></item></result>

2023-04-03 23:02:11 | [Mutex] notify: [retrieved:item:item-af3ddc3a-8247-4827-bafc-55731e3a4e77:payload-matches:true:localhost]

2023-04-03 23:02:11 | [Mutex] received everything.

2023-04-03 23:02:11 | [Mutex] isItemNotified: retrieved:item:item-af3ddc3a-8247-4827-bafc-55731e3a4e77:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-04-03 23:02:11 |

2023-04-03 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:11 | ------------------------------------

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

2023-04-03 23:02:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-cc7f2618-944b-4505-a25f-ef40daefdad3</value><value>test</value><value>node-205a90a5-9bbf-44aa-8291-d9269cc09684</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-04-03 23:02:12 |

2023-04-03 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:12 | ------------------------------------

2023-04-03 23:02:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cc7f2618-944b-4505-a25f-ef40daefdad3)</node-pattern></data>

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

subscribeNodes 1.146s
2023-04-03 23:02:10 |

2023-04-03 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:10 | ------------------------------------

2023-04-03 23:02:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.175s
2023-04-03 23:02:12 |

2023-04-03 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-04-03 23:02:12 | ------------------------------------

2023-04-03 23:02:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cc7f2618-944b-4505-a25f-ef40daefdad3</node><jids><value>admin@test-domain.com</value></jids></data>

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