Generated by TestNG with ReportNG at 22:18 PDT on Friday 22 July 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.589s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-07-22 22:33:07 |

2022-07-22 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:07 | ------------------------------------

2022-07-22 22:33:07 | [Mutex] waiting for: [configured:node:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:node-15ce955d-cb41-486c-88a8-7fa242df31bd]

2022-07-22 22:33:07 | [Mutex] received everything.

2022-07-22 22:33:07 | [Mutex] isItemNotified: configured:node:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:node-15ce955d-cb41-486c-88a8-7fa242df31bd :: true

2022-07-22 22:33:08 | [Mutex] waiting for: [received:nodes:90101ec3-1010-4f95-a693-c4c2716cacf4:localhost]

2022-07-22 22:33:08 | [Mutex] received everything.

2022-07-22 22:33:08 | [Mutex] isItemNotified: received:node:90101ec3-1010-4f95-a693-c4c2716cacf4:localhost:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a :: true

2022-07-22 22:33:08 | [Mutex] waiting for: [received:nodes:de9d87d6-ec19-4982-99a5-2a7bfab7903c:localhost]

2022-07-22 22:33:08 | [Mutex] received everything.

2022-07-22 22:33:08 | [Mutex] isItemNotified: received:node:de9d87d6-ec19-4982-99a5-2a7bfab7903c:localhost:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a :: false

createNodes 1.518s
2022-07-22 22:33:05 |

2022-07-22 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:05 | ------------------------------------

2022-07-22 22:33:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</title></pubsub></data>

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

2022-07-22 22:33:06 | [Mutex] waiting for: [received:nodes:18abbe0c-2b64-4c84-9106-96251c0827a5:localhost]

2022-07-22 22:33:06 | [Mutex] received everything.

2022-07-22 22:33:06 | [Mutex] isItemNotified: received:node:18abbe0c-2b64-4c84-9106-96251c0827a5:localhost:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a :: true

createSubnodes 1.031s
2022-07-22 22:33:06 |

2022-07-22 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:06 | ------------------------------------

2022-07-22 22:33:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-15ce955d-cb41-486c-88a8-7fa242df31bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 15ce955d-cb41-486c-88a8-7fa242df31bd</title></pubsub></data>

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

2022-07-22 22:33:07 | [Mutex] waiting for: [received:nodes:6815fb0a-235f-404c-8e1b-a40f1d3ea5d8:localhost]

2022-07-22 22:33:07 | [Mutex] received everything.

2022-07-22 22:33:07 | [Mutex] isItemNotified: received:node:6815fb0a-235f-404c-8e1b-a40f1d3ea5d8:localhost:node-15ce955d-cb41-486c-88a8-7fa242df31bd:Node 15ce955d-cb41-486c-88a8-7fa242df31bd :: true

deleteNodes 1.021s
2022-07-22 22:33:13 |

2022-07-22 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:13 | ------------------------------------

2022-07-22 22:33:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-15ce955d-cb41-486c-88a8-7fa242df31bd</node></data>

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

2022-07-22 22:33:14 | [Mutex] waiting for: [received:nodes:62e86202-1197-44b2-aa30-f4be8d959f40:localhost]

2022-07-22 22:33:14 | [Mutex] waiting for: [received:nodes:62e86202-1197-44b2-aa30-f4be8d959f40:localhost]

2022-07-22 22:33:14 | [Mutex] received everything.

2022-07-22 22:33:14 | [Mutex] isItemNotified: received:node:62e86202-1197-44b2-aa30-f4be8d959f40:localhost:node-15ce955d-cb41-486c-88a8-7fa242df31bd:Node 15ce955d-cb41-486c-88a8-7fa242df31bd :: false

deleteSubnodes 1.120s
2022-07-22 22:33:12 |

2022-07-22 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:12 | ------------------------------------

2022-07-22 22:33:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node></data>

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

2022-07-22 22:33:13 | [Mutex] waiting for: [received:nodes:f9f4b3b4-f2ff-4ffe-90b5-52aed9d2bed7:localhost]

2022-07-22 22:33:13 | [Mutex] received everything.

2022-07-22 22:33:13 | [Mutex] isItemNotified: received:node:f9f4b3b4-f2ff-4ffe-90b5-52aed9d2bed7:localhost:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a :: false

2022-07-22 22:33:13 | [Mutex] waiting for: [received:nodes:b588bc11-5291-4d2b-a6e7-f5ef558dc817:localhost]

2022-07-22 22:33:13 | [Mutex] received everything.

2022-07-22 22:33:13 | [Mutex] isItemNotified: received:node:b588bc11-5291-4d2b-a6e7-f5ef558dc817:localhost:node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a:Node 6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a :: false

publishItemsToNodes 0.274s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

2022-07-22 22:33:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><item-id>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</item-id><entry><test>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</test></entry></data>

2022-07-22 22:33:10 | 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-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</value></item-id></result>

2022-07-22 22:33:10 | [Mutex] received everything.

2022-07-22 22:33:10 | [Mutex] isItemNotified: published:item:notifieditem-4a84a788-6d3e-428a-81a8-7ec66cd7d64a:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

2022-07-22 22:33:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><item-id>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</item-id></data>

2022-07-22 22:33:10 | 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-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</value></item-id></result>

2022-07-22 22:33:10 | [Mutex] received everything.

2022-07-22 22:33:10 | [Mutex] isItemNotified: retracted:item:notifieditem-4a84a788-6d3e-428a-81a8-7ec66cd7d64a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

2022-07-22 22:33:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><item-id>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</item-id></data>

2022-07-22 22:33:10 | 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-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</value></node><item-id type="text-single" label="Item ID"><value>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</value></item-id><item type="text-multi" label="Item"><value><item id="item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a"><test>item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a</test></item></value></item></result>

2022-07-22 22:33:10 | [Mutex] notify: [retrieved:item:item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a:payload-matches:true:localhost]

2022-07-22 22:33:10 | [Mutex] received everything.

2022-07-22 22:33:10 | [Mutex] isItemNotified: retrieved:item:item-4a84a788-6d3e-428a-81a8-7ec66cd7d64a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

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

2022-07-22 22:33:10 | 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-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</value><value>node-15ce955d-cb41-486c-88a8-7fa242df31bd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

2022-07-22 22:33:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a)</node-pattern></data>

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

subscribeNodes 1.112s
2022-07-22 22:33:08 |

2022-07-22 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:08 | ------------------------------------

2022-07-22 22:33:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.199s
2022-07-22 22:33:10 |

2022-07-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 22:33:10 | ------------------------------------

2022-07-22 22:33:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6e5ea3af-e8e6-4be5-9f4e-30c508d7ab7a</node><jids><value>admin@test-domain.com</value></jids></data>

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