Generated by TestNG with ReportNG at 09:45 PDT on Friday 23 April 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.343s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-04-23 10:01:30 |

2021-04-23 10:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:30 | ------------------------------------

2021-04-23 10:01:30 | [Mutex] waiting for: [configured:node:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:node-1b74d735-c79b-46ed-a226-ae4b5c5bd299]

2021-04-23 10:01:30 | [Mutex] received everything.

2021-04-23 10:01:30 | [Mutex] isItemNotified: configured:node:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:node-1b74d735-c79b-46ed-a226-ae4b5c5bd299 :: true

2021-04-23 10:01:31 | [Mutex] waiting for: [received:nodes:9678aeec-5f2c-4b58-9652-06803e345bc1:localhost]

2021-04-23 10:01:31 | [Mutex] received everything.

2021-04-23 10:01:31 | [Mutex] isItemNotified: received:node:9678aeec-5f2c-4b58-9652-06803e345bc1:localhost:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:Node 5ecdcf72-de81-4d1d-ab09-2429b1510412 :: true

2021-04-23 10:01:31 | [Mutex] waiting for: [received:nodes:a7566c4f-166e-4f96-9716-0b9db55fe303:localhost]

2021-04-23 10:01:31 | [Mutex] received everything.

2021-04-23 10:01:31 | [Mutex] isItemNotified: received:node:a7566c4f-166e-4f96-9716-0b9db55fe303:localhost:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:Node 5ecdcf72-de81-4d1d-ab09-2429b1510412 :: false

createNodes 1.499s
2021-04-23 10:01:28 |

2021-04-23 10:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:28 | ------------------------------------

2021-04-23 10:01:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5ecdcf72-de81-4d1d-ab09-2429b1510412</title></pubsub></data>

2021-04-23 10:01:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:29 | [Mutex] waiting for: [received:nodes:8ea5b4f6-8152-488d-a5d8-7f14ac26b2b0:localhost]

2021-04-23 10:01:29 | [Mutex] received everything.

2021-04-23 10:01:29 | [Mutex] isItemNotified: received:node:8ea5b4f6-8152-488d-a5d8-7f14ac26b2b0:localhost:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:Node 5ecdcf72-de81-4d1d-ab09-2429b1510412 :: true

createSubnodes 1.030s
2021-04-23 10:01:29 |

2021-04-23 10:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:29 | ------------------------------------

2021-04-23 10:01:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1b74d735-c79b-46ed-a226-ae4b5c5bd299</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1b74d735-c79b-46ed-a226-ae4b5c5bd299</title></pubsub></data>

2021-04-23 10:01:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:30 | [Mutex] waiting for: [received:nodes:e4a26ca4-fec0-4e39-b8cb-1ec22c3aa4cc:localhost]

2021-04-23 10:01:30 | [Mutex] received everything.

2021-04-23 10:01:30 | [Mutex] isItemNotified: received:node:e4a26ca4-fec0-4e39-b8cb-1ec22c3aa4cc:localhost:node-1b74d735-c79b-46ed-a226-ae4b5c5bd299:Node 1b74d735-c79b-46ed-a226-ae4b5c5bd299 :: true

deleteNodes 1.018s
2021-04-23 10:01:36 |

2021-04-23 10:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:36 | ------------------------------------

2021-04-23 10:01:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1b74d735-c79b-46ed-a226-ae4b5c5bd299</node></data>

2021-04-23 10:01:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:37 | [Mutex] waiting for: [received:nodes:7164fd72-7094-4873-ba99-3cd6b8dba64d:localhost]

2021-04-23 10:01:37 | [Mutex] received everything.

2021-04-23 10:01:37 | [Mutex] isItemNotified: received:node:7164fd72-7094-4873-ba99-3cd6b8dba64d:localhost:node-1b74d735-c79b-46ed-a226-ae4b5c5bd299:Node 1b74d735-c79b-46ed-a226-ae4b5c5bd299 :: false

deleteSubnodes 1.163s
2021-04-23 10:01:35 |

2021-04-23 10:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:35 | ------------------------------------

2021-04-23 10:01:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node></data>

2021-04-23 10:01:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:36 | [Mutex] waiting for: [received:nodes:8d92172d-ef82-4244-9984-6c8685c4d98b:localhost]

2021-04-23 10:01:36 | [Mutex] received everything.

2021-04-23 10:01:36 | [Mutex] isItemNotified: received:node:8d92172d-ef82-4244-9984-6c8685c4d98b:localhost:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:Node 5ecdcf72-de81-4d1d-ab09-2429b1510412 :: false

2021-04-23 10:01:36 | [Mutex] waiting for: [received:nodes:9b6abc98-f9c0-48b7-a00b-d8bbadd783bc:localhost]

2021-04-23 10:01:36 | [Mutex] received everything.

2021-04-23 10:01:36 | [Mutex] isItemNotified: received:node:9b6abc98-f9c0-48b7-a00b-d8bbadd783bc:localhost:node-5ecdcf72-de81-4d1d-ab09-2429b1510412:Node 5ecdcf72-de81-4d1d-ab09-2429b1510412 :: false

publishItemsToNodes 0.299s
2021-04-23 10:01:33 |

2021-04-23 10:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:33 | ------------------------------------

2021-04-23 10:01:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><item-id>item-cc83c029-3942-4622-a288-7c0d4a28758a</item-id><entry><test>item-cc83c029-3942-4622-a288-7c0d4a28758a</test></entry></data>

2021-04-23 10:01:33 | 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-cc83c029-3942-4622-a288-7c0d4a28758a</value></item-id></result>

2021-04-23 10:01:33 | [Mutex] waiting for: [published:item:notifieditem-cc83c029-3942-4622-a288-7c0d4a28758a:admin@test-domain.com]

2021-04-23 10:01:33 | [Mutex] received everything.

2021-04-23 10:01:33 | [Mutex] isItemNotified: published:item:notifieditem-cc83c029-3942-4622-a288-7c0d4a28758a:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-04-23 10:01:33 |

2021-04-23 10:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:33 | ------------------------------------

2021-04-23 10:01:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><item-id>item-cc83c029-3942-4622-a288-7c0d4a28758a</item-id></data>

2021-04-23 10:01:34 | 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-cc83c029-3942-4622-a288-7c0d4a28758a</value></item-id></result>

2021-04-23 10:01:34 | [Mutex] received everything.

2021-04-23 10:01:34 | [Mutex] isItemNotified: retracted:item:notifieditem-cc83c029-3942-4622-a288-7c0d4a28758a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.281s
2021-04-23 10:01:33 |

2021-04-23 10:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:33 | ------------------------------------

2021-04-23 10:01:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><item-id>item-cc83c029-3942-4622-a288-7c0d4a28758a</item-id></data>

2021-04-23 10:01:33 | 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-5ecdcf72-de81-4d1d-ab09-2429b1510412</value></node><item-id type="text-single" label="Item ID"><value>item-cc83c029-3942-4622-a288-7c0d4a28758a</value></item-id><item type="text-multi" label="Item"><value><item id="item-cc83c029-3942-4622-a288-7c0d4a28758a"><test>item-cc83c029-3942-4622-a288-7c0d4a28758a</test></item></value></item></result>

2021-04-23 10:01:33 | [Mutex] notify: [retrieved:item:item-cc83c029-3942-4622-a288-7c0d4a28758a:payload-matches:true:localhost]

2021-04-23 10:01:33 | [Mutex] received everything.

2021-04-23 10:01:33 | [Mutex] isItemNotified: retrieved:item:item-cc83c029-3942-4622-a288-7c0d4a28758a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-04-23 10:01:33 |

2021-04-23 10:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:33 | ------------------------------------

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

2021-04-23 10:01:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1b74d735-c79b-46ed-a226-ae4b5c5bd299</value><value>test</value><value>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-04-23 10:01:33 |

2021-04-23 10:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:33 | ------------------------------------

2021-04-23 10:01:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5ecdcf72-de81-4d1d-ab09-2429b1510412)</node-pattern></data>

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

subscribeNodes 1.197s
2021-04-23 10:01:31 |

2021-04-23 10:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:31 | ------------------------------------

2021-04-23 10:01:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.331s
2021-04-23 10:01:34 |

2021-04-23 10:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:34 | ------------------------------------

2021-04-23 10:01:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5ecdcf72-de81-4d1d-ab09-2429b1510412</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-23 10:01:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>