Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 31 August 2022
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.590s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-08-31 22:34:39 |

2022-08-31 22:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:39 | ------------------------------------

2022-08-31 22:34:39 | [Mutex] waiting for: [configured:node:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6]

2022-08-31 22:34:39 | [Mutex] received everything.

2022-08-31 22:34:39 | [Mutex] isItemNotified: configured:node:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6 :: true

2022-08-31 22:34:40 | [Mutex] waiting for: [received:nodes:56ea8297-712d-46d2-a63d-d6e4a5d1979a:localhost]

2022-08-31 22:34:40 | [Mutex] received everything.

2022-08-31 22:34:40 | [Mutex] isItemNotified: received:node:56ea8297-712d-46d2-a63d-d6e4a5d1979a:localhost:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99 :: true

2022-08-31 22:34:40 | [Mutex] waiting for: [received:nodes:ee52f186-6102-449b-906e-bf232bdaa024:localhost]

2022-08-31 22:34:40 | [Mutex] waiting for: [received:nodes:ee52f186-6102-449b-906e-bf232bdaa024:localhost]

2022-08-31 22:34:40 | [Mutex] received everything.

2022-08-31 22:34:40 | [Mutex] isItemNotified: received:node:ee52f186-6102-449b-906e-bf232bdaa024:localhost:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99 :: false

createNodes 1.497s
2022-08-31 22:34:36 |

2022-08-31 22:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:36 | ------------------------------------

2022-08-31 22:34:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99</title></pubsub></data>

2022-08-31 22:34:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:34:38 | [Mutex] waiting for: [received:nodes:f932ce63-60f0-45df-9b26-fee8e2513a48:localhost]

2022-08-31 22:34:38 | [Mutex] waiting for: [received:nodes:f932ce63-60f0-45df-9b26-fee8e2513a48:localhost]

2022-08-31 22:34:38 | [Mutex] received everything.

2022-08-31 22:34:38 | [Mutex] isItemNotified: received:node:f932ce63-60f0-45df-9b26-fee8e2513a48:localhost:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99 :: true

createSubnodes 1.023s
2022-08-31 22:34:38 |

2022-08-31 22:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:38 | ------------------------------------

2022-08-31 22:34:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bbc8e575-ccf0-4269-b38f-3d7ba98a3df6</title></pubsub></data>

2022-08-31 22:34:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:34:39 | [Mutex] waiting for: [received:nodes:4a0fd5e2-1f37-4b32-a6cd-2f15c12bf3b2:localhost]

2022-08-31 22:34:39 | [Mutex] waiting for: [received:nodes:4a0fd5e2-1f37-4b32-a6cd-2f15c12bf3b2:localhost]

2022-08-31 22:34:39 | [Mutex] received everything.

2022-08-31 22:34:39 | [Mutex] isItemNotified: received:node:4a0fd5e2-1f37-4b32-a6cd-2f15c12bf3b2:localhost:node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6:Node bbc8e575-ccf0-4269-b38f-3d7ba98a3df6 :: true

deleteNodes 1.016s
2022-08-31 22:34:44 |

2022-08-31 22:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:44 | ------------------------------------

2022-08-31 22:34:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6</node></data>

2022-08-31 22:34:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:34:45 | [Mutex] waiting for: [received:nodes:0d9dec94-39d5-4ee4-a057-95424b683b11:localhost]

2022-08-31 22:34:45 | [Mutex] received everything.

2022-08-31 22:34:45 | [Mutex] isItemNotified: received:node:0d9dec94-39d5-4ee4-a057-95424b683b11:localhost:node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6:Node bbc8e575-ccf0-4269-b38f-3d7ba98a3df6 :: false

deleteSubnodes 1.142s
2022-08-31 22:34:43 |

2022-08-31 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:43 | ------------------------------------

2022-08-31 22:34:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node></data>

2022-08-31 22:34:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:34:44 | [Mutex] waiting for: [received:nodes:884f6406-90f5-4ac0-92b0-092293368002:localhost]

2022-08-31 22:34:44 | [Mutex] received everything.

2022-08-31 22:34:44 | [Mutex] isItemNotified: received:node:884f6406-90f5-4ac0-92b0-092293368002:localhost:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99 :: false

2022-08-31 22:34:44 | [Mutex] waiting for: [received:nodes:919864c2-ce0b-43f4-910c-d12ad7ab4e96:localhost]

2022-08-31 22:34:44 | [Mutex] received everything.

2022-08-31 22:34:44 | [Mutex] isItemNotified: received:node:919864c2-ce0b-43f4-910c-d12ad7ab4e96:localhost:node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99:Node f38c155c-1b5a-41bc-b4bc-b1f14f600f99 :: false

publishItemsToNodes 0.209s
2022-08-31 22:34:41 |

2022-08-31 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:41 | ------------------------------------

2022-08-31 22:34:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><item-id>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</item-id><entry><test>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</test></entry></data>

2022-08-31 22:34:41 | 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-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</value></item-id></result>

2022-08-31 22:34:41 | [Mutex] received everything.

2022-08-31 22:34:41 | [Mutex] isItemNotified: published:item:notifieditem-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-08-31 22:34:41 |

2022-08-31 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:41 | ------------------------------------

2022-08-31 22:34:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><item-id>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</item-id></data>

2022-08-31 22:34:42 | 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-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</value></item-id></result>

2022-08-31 22:34:42 | [Mutex] received everything.

2022-08-31 22:34:42 | [Mutex] isItemNotified: retracted:item:notifieditem-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-08-31 22:34:41 |

2022-08-31 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:41 | ------------------------------------

2022-08-31 22:34:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><item-id>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</item-id></data>

2022-08-31 22:34:41 | 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-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</value></node><item-id type="text-single" label="Item ID"><value>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</value></item-id><item type="text-multi" label="Item"><value><item id="item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe"><test>item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe</test></item></value></item></result>

2022-08-31 22:34:41 | [Mutex] notify: [retrieved:item:item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe:payload-matches:true:localhost]

2022-08-31 22:34:41 | [Mutex] received everything.

2022-08-31 22:34:41 | [Mutex] isItemNotified: retrieved:item:item-ce330e9b-f4a2-4b9f-9d30-9b7d1f405afe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-31 22:34:41 |

2022-08-31 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:41 | ------------------------------------

2022-08-31 22:34:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-31 22:34:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-bbc8e575-ccf0-4269-b38f-3d7ba98a3df6</value><value>test</value><value>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-31 22:34:41 |

2022-08-31 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:41 | ------------------------------------

2022-08-31 22:34:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99)</node-pattern></data>

2022-08-31 22:34:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-08-31 22:34:40 |

2022-08-31 22:34:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:40 | ------------------------------------

2022-08-31 22:34:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 22:34:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.159s
2022-08-31 22:34:42 |

2022-08-31 22:34:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:34:42 | ------------------------------------

2022-08-31 22:34:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f38c155c-1b5a-41bc-b4bc-b1f14f600f99</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 22:34:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>