Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 06 September 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.613s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-09-06 22:33:47 |

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

2022-09-06 22:33:47 | ------------------------------------

2022-09-06 22:33:47 | [Mutex] waiting for: [configured:node:node-8cf5a0cd-bed1-471a-9346-6540722bf378:node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a]

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

2022-09-06 22:33:47 | [Mutex] isItemNotified: configured:node:node-8cf5a0cd-bed1-471a-9346-6540722bf378:node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a :: true

2022-09-06 22:33:48 | [Mutex] waiting for: [received:nodes:a7bd8d30-0f6d-465a-9b80-dbc68a2f204b:localhost]

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

2022-09-06 22:33:48 | [Mutex] isItemNotified: received:node:a7bd8d30-0f6d-465a-9b80-dbc68a2f204b:localhost:node-8cf5a0cd-bed1-471a-9346-6540722bf378:Node 8cf5a0cd-bed1-471a-9346-6540722bf378 :: true

2022-09-06 22:33:48 | [Mutex] waiting for: [received:nodes:6b341784-5042-4701-aa07-0529fcddb661:localhost]

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

2022-09-06 22:33:48 | [Mutex] isItemNotified: received:node:6b341784-5042-4701-aa07-0529fcddb661:localhost:node-8cf5a0cd-bed1-471a-9346-6540722bf378:Node 8cf5a0cd-bed1-471a-9346-6540722bf378 :: false

createNodes 1.498s
2022-09-06 22:33:44 |

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

2022-09-06 22:33:44 | ------------------------------------

2022-09-06 22:33:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8cf5a0cd-bed1-471a-9346-6540722bf378</title></pubsub></data>

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

2022-09-06 22:33:46 | [Mutex] waiting for: [received:nodes:f526768b-aacb-45d1-95f5-074b3e2bd6f6:localhost]

2022-09-06 22:33:46 | [Mutex] waiting for: [received:nodes:f526768b-aacb-45d1-95f5-074b3e2bd6f6:localhost]

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

2022-09-06 22:33:46 | [Mutex] isItemNotified: received:node:f526768b-aacb-45d1-95f5-074b3e2bd6f6:localhost:node-8cf5a0cd-bed1-471a-9346-6540722bf378:Node 8cf5a0cd-bed1-471a-9346-6540722bf378 :: true

createSubnodes 1.025s
2022-09-06 22:33:46 |

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

2022-09-06 22:33:46 | ------------------------------------

2022-09-06 22:33:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 769e12c3-9d29-44f1-9bbc-45ef8f70bb8a</title></pubsub></data>

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

2022-09-06 22:33:47 | [Mutex] waiting for: [received:nodes:d52d6bf9-2d23-49e2-a121-5b704118269a:localhost]

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

2022-09-06 22:33:47 | [Mutex] isItemNotified: received:node:d52d6bf9-2d23-49e2-a121-5b704118269a:localhost:node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a:Node 769e12c3-9d29-44f1-9bbc-45ef8f70bb8a :: true

deleteNodes 1.017s
2022-09-06 22:33:52 |

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

2022-09-06 22:33:52 | ------------------------------------

2022-09-06 22:33:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a</node></data>

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

2022-09-06 22:33:53 | [Mutex] waiting for: [received:nodes:e05e45ef-9344-45cd-b712-8c9ecb1b95a0:localhost]

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

2022-09-06 22:33:53 | [Mutex] isItemNotified: received:node:e05e45ef-9344-45cd-b712-8c9ecb1b95a0:localhost:node-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a:Node 769e12c3-9d29-44f1-9bbc-45ef8f70bb8a :: false

deleteSubnodes 1.141s
2022-09-06 22:33:51 |

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

2022-09-06 22:33:51 | ------------------------------------

2022-09-06 22:33:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node></data>

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

2022-09-06 22:33:52 | [Mutex] waiting for: [received:nodes:50fcf943-ae77-45f6-9db0-da36f6b722a7:localhost]

2022-09-06 22:33:52 | [Mutex] waiting for: [received:nodes:50fcf943-ae77-45f6-9db0-da36f6b722a7:localhost]

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

2022-09-06 22:33:52 | [Mutex] isItemNotified: received:node:50fcf943-ae77-45f6-9db0-da36f6b722a7:localhost:node-8cf5a0cd-bed1-471a-9346-6540722bf378:Node 8cf5a0cd-bed1-471a-9346-6540722bf378 :: false

2022-09-06 22:33:52 | [Mutex] waiting for: [received:nodes:cae05f13-8851-4ada-b700-8aa9ae3112bc:localhost]

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

2022-09-06 22:33:52 | [Mutex] isItemNotified: received:node:cae05f13-8851-4ada-b700-8aa9ae3112bc:localhost:node-8cf5a0cd-bed1-471a-9346-6540722bf378:Node 8cf5a0cd-bed1-471a-9346-6540722bf378 :: false

publishItemsToNodes 0.186s
2022-09-06 22:33:49 |

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

2022-09-06 22:33:49 | ------------------------------------

2022-09-06 22:33:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><item-id>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</item-id><entry><test>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</test></entry></data>

2022-09-06 22:33:49 | 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-b7b71f59-a17a-4c81-a8a5-49576e9053ad</value></item-id></result>

2022-09-06 22:33:49 | [Mutex] waiting for: [published:item:notifieditem-b7b71f59-a17a-4c81-a8a5-49576e9053ad:admin@test-domain.com]

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

2022-09-06 22:33:49 | [Mutex] isItemNotified: published:item:notifieditem-b7b71f59-a17a-4c81-a8a5-49576e9053ad:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2022-09-06 22:33:49 |

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

2022-09-06 22:33:49 | ------------------------------------

2022-09-06 22:33:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><item-id>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</item-id></data>

2022-09-06 22:33:50 | 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-b7b71f59-a17a-4c81-a8a5-49576e9053ad</value></item-id></result>

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

2022-09-06 22:33:50 | [Mutex] isItemNotified: retracted:item:notifieditem-b7b71f59-a17a-4c81-a8a5-49576e9053ad:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2022-09-06 22:33:49 |

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

2022-09-06 22:33:49 | ------------------------------------

2022-09-06 22:33:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><item-id>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</item-id></data>

2022-09-06 22:33:49 | 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-8cf5a0cd-bed1-471a-9346-6540722bf378</value></node><item-id type="text-single" label="Item ID"><value>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</value></item-id><item type="text-multi" label="Item"><value><item id="item-b7b71f59-a17a-4c81-a8a5-49576e9053ad"><test>item-b7b71f59-a17a-4c81-a8a5-49576e9053ad</test></item></value></item></result>

2022-09-06 22:33:49 | [Mutex] notify: [retrieved:item:item-b7b71f59-a17a-4c81-a8a5-49576e9053ad:payload-matches:true:localhost]

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

2022-09-06 22:33:49 | [Mutex] isItemNotified: retrieved:item:item-b7b71f59-a17a-4c81-a8a5-49576e9053ad:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-06 22:33:49 |

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

2022-09-06 22:33:49 | ------------------------------------

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

2022-09-06 22:33:49 | 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-769e12c3-9d29-44f1-9bbc-45ef8f70bb8a</value><value>node-8cf5a0cd-bed1-471a-9346-6540722bf378</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-06 22:33:49 |

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

2022-09-06 22:33:49 | ------------------------------------

2022-09-06 22:33:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8cf5a0cd-bed1-471a-9346-6540722bf378)</node-pattern></data>

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

subscribeNodes 1.107s
2022-09-06 22:33:48 |

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

2022-09-06 22:33:48 | ------------------------------------

2022-09-06 22:33:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.195s
2022-09-06 22:33:50 |

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

2022-09-06 22:33:50 | ------------------------------------

2022-09-06 22:33:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8cf5a0cd-bed1-471a-9346-6540722bf378</node><jids><value>admin@test-domain.com</value></jids></data>

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