Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 19 July 2022
root@f9c07ffec79b / 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.576s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-07-19 23:00:09 |

2022-07-19 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:09 | ------------------------------------

2022-07-19 23:00:09 | [Mutex] waiting for: [configured:node:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:node-c9439c64-934d-4898-b864-4318d79dff85]

2022-07-19 23:00:09 | [Mutex] received everything.

2022-07-19 23:00:09 | [Mutex] isItemNotified: configured:node:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:node-c9439c64-934d-4898-b864-4318d79dff85 :: true

2022-07-19 23:00:10 | [Mutex] waiting for: [received:nodes:d03b56c8-0ebd-4482-a7bc-a5313f830944:localhost]

2022-07-19 23:00:10 | [Mutex] received everything.

2022-07-19 23:00:10 | [Mutex] isItemNotified: received:node:d03b56c8-0ebd-4482-a7bc-a5313f830944:localhost:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56 :: true

2022-07-19 23:00:10 | [Mutex] waiting for: [received:nodes:c346ad78-67e0-408d-9a36-db2a5730b55c:localhost]

2022-07-19 23:00:10 | [Mutex] received everything.

2022-07-19 23:00:10 | [Mutex] isItemNotified: received:node:c346ad78-67e0-408d-9a36-db2a5730b55c:localhost:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56 :: false

createNodes 1.411s
2022-07-19 23:00:07 |

2022-07-19 23:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:07 | ------------------------------------

2022-07-19 23:00:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</title></pubsub></data>

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

2022-07-19 23:00:08 | [Mutex] waiting for: [received:nodes:6db70308-b0ac-48a5-9d22-f444a471e81f:localhost]

2022-07-19 23:00:08 | [Mutex] received everything.

2022-07-19 23:00:08 | [Mutex] isItemNotified: received:node:6db70308-b0ac-48a5-9d22-f444a471e81f:localhost:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56 :: true

createSubnodes 1.021s
2022-07-19 23:00:08 |

2022-07-19 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:08 | ------------------------------------

2022-07-19 23:00:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9439c64-934d-4898-b864-4318d79dff85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9439c64-934d-4898-b864-4318d79dff85</title></pubsub></data>

2022-07-19 23:00:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 23:00:09 | [Mutex] waiting for: [received:nodes:e2151190-f50e-4069-9391-f8d9c1afe6f1:localhost]

2022-07-19 23:00:09 | [Mutex] received everything.

2022-07-19 23:00:09 | [Mutex] isItemNotified: received:node:e2151190-f50e-4069-9391-f8d9c1afe6f1:localhost:node-c9439c64-934d-4898-b864-4318d79dff85:Node c9439c64-934d-4898-b864-4318d79dff85 :: true

deleteNodes 1.022s
2022-07-19 23:00:15 |

2022-07-19 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:15 | ------------------------------------

2022-07-19 23:00:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9439c64-934d-4898-b864-4318d79dff85</node></data>

2022-07-19 23:00:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 23:00:16 | [Mutex] waiting for: [received:nodes:bdfa7f31-8897-4ae1-8ca2-4edc5b8640ed:localhost]

2022-07-19 23:00:16 | [Mutex] received everything.

2022-07-19 23:00:16 | [Mutex] isItemNotified: received:node:bdfa7f31-8897-4ae1-8ca2-4edc5b8640ed:localhost:node-c9439c64-934d-4898-b864-4318d79dff85:Node c9439c64-934d-4898-b864-4318d79dff85 :: false

deleteSubnodes 1.141s
2022-07-19 23:00:13 |

2022-07-19 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:13 | ------------------------------------

2022-07-19 23:00:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node></data>

2022-07-19 23:00:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 23:00:15 | [Mutex] waiting for: [received:nodes:12d06eda-908c-4449-9b55-7802da28d8bc:localhost]

2022-07-19 23:00:15 | [Mutex] waiting for: [received:nodes:12d06eda-908c-4449-9b55-7802da28d8bc:localhost]

2022-07-19 23:00:15 | [Mutex] received everything.

2022-07-19 23:00:15 | [Mutex] isItemNotified: received:node:12d06eda-908c-4449-9b55-7802da28d8bc:localhost:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56 :: false

2022-07-19 23:00:15 | [Mutex] waiting for: [received:nodes:afbf0687-1051-4332-b266-f2ac00617cc3:localhost]

2022-07-19 23:00:15 | [Mutex] received everything.

2022-07-19 23:00:15 | [Mutex] isItemNotified: received:node:afbf0687-1051-4332-b266-f2ac00617cc3:localhost:node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56:Node 82ffc44a-14d7-4fd8-9c1c-6089d99d9d56 :: false

publishItemsToNodes 0.235s
2022-07-19 23:00:11 |

2022-07-19 23:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:11 | ------------------------------------

2022-07-19 23:00:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><item-id>item-f7ac1482-b257-4855-9644-b4f14371eae5</item-id><entry><test>item-f7ac1482-b257-4855-9644-b4f14371eae5</test></entry></data>

2022-07-19 23:00:12 | 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-f7ac1482-b257-4855-9644-b4f14371eae5</value></item-id></result>

2022-07-19 23:00:12 | [Mutex] waiting for: [published:item:notifieditem-f7ac1482-b257-4855-9644-b4f14371eae5:admin@test-domain.com]

2022-07-19 23:00:12 | [Mutex] received everything.

2022-07-19 23:00:12 | [Mutex] isItemNotified: published:item:notifieditem-f7ac1482-b257-4855-9644-b4f14371eae5:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-07-19 23:00:12 |

2022-07-19 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:12 | ------------------------------------

2022-07-19 23:00:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><item-id>item-f7ac1482-b257-4855-9644-b4f14371eae5</item-id></data>

2022-07-19 23:00: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-f7ac1482-b257-4855-9644-b4f14371eae5</value></item-id></result>

2022-07-19 23:00:12 | [Mutex] waiting for: [retracted:item:notifieditem-f7ac1482-b257-4855-9644-b4f14371eae5:admin@test-domain.com]

2022-07-19 23:00:12 | [Mutex] received everything.

2022-07-19 23:00:12 | [Mutex] isItemNotified: retracted:item:notifieditem-f7ac1482-b257-4855-9644-b4f14371eae5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2022-07-19 23:00:12 |

2022-07-19 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:12 | ------------------------------------

2022-07-19 23:00:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><item-id>item-f7ac1482-b257-4855-9644-b4f14371eae5</item-id></data>

2022-07-19 23:00:12 | 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-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</value></node><item-id type="text-single" label="Item ID"><value>item-f7ac1482-b257-4855-9644-b4f14371eae5</value></item-id><item type="text-multi" label="Item"><value><item id="item-f7ac1482-b257-4855-9644-b4f14371eae5"><test>item-f7ac1482-b257-4855-9644-b4f14371eae5</test></item></value></item></result>

2022-07-19 23:00:12 | [Mutex] notify: [retrieved:item:item-f7ac1482-b257-4855-9644-b4f14371eae5:payload-matches:true:localhost]

2022-07-19 23:00:12 | [Mutex] received everything.

2022-07-19 23:00:12 | [Mutex] isItemNotified: retrieved:item:item-f7ac1482-b257-4855-9644-b4f14371eae5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-19 23:00:12 |

2022-07-19 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:12 | ------------------------------------

2022-07-19 23:00:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-19 23:00:12 | 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-c9439c64-934d-4898-b864-4318d79dff85</value><value>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-07-19 23:00:12 |

2022-07-19 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:12 | ------------------------------------

2022-07-19 23:00: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-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56)</node-pattern></data>

2022-07-19 23:00:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.127s
2022-07-19 23:00:10 |

2022-07-19 23:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:10 | ------------------------------------

2022-07-19 23:00:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 23:00: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.255s
2022-07-19 23:00:12 |

2022-07-19 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 23:00:12 | ------------------------------------

2022-07-19 23:00:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-82ffc44a-14d7-4fd8-9c1c-6089d99d9d56</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-19 23:00:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>