Generated by TestNG with ReportNG at 21:25 PST on Tuesday 03 November 2020
root@43fec6d4badf / 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.186s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.160s
2020-11-03 21:40:55 |

2020-11-03 21:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:55 | ------------------------------------

2020-11-03 21:40:55 | [Mutex] waiting for: [configured:node:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:node-004aab30-2a5e-4850-be28-8acee2b270f9]

2020-11-03 21:40:55 | [Mutex] received everything.

2020-11-03 21:40:55 | [Mutex] isItemNotified: configured:node:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:node-004aab30-2a5e-4850-be28-8acee2b270f9 :: true

2020-11-03 21:40:56 | [Mutex] waiting for: [received:nodes:c73eb1eb-a8d0-440a-84db-e7c8f609eab3:localhost]

2020-11-03 21:40:56 | [Mutex] received everything.

2020-11-03 21:40:56 | [Mutex] isItemNotified: received:node:c73eb1eb-a8d0-440a-84db-e7c8f609eab3:localhost:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:Node 7a89adad-3160-4168-9f6e-149ed6bdf1de :: true

2020-11-03 21:40:56 | [Mutex] waiting for: [received:nodes:22c5d31f-bf81-42b5-bc94-04f9f57e5cca:localhost]

2020-11-03 21:40:56 | [Mutex] received everything.

2020-11-03 21:40:56 | [Mutex] isItemNotified: received:node:22c5d31f-bf81-42b5-bc94-04f9f57e5cca:localhost:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:Node 7a89adad-3160-4168-9f6e-149ed6bdf1de :: false

createNodes 1.436s
2020-11-03 21:40:53 |

2020-11-03 21:40:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:53 | ------------------------------------

2020-11-03 21:40:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a89adad-3160-4168-9f6e-149ed6bdf1de</title></pubsub></data>

2020-11-03 21:40:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-03 21:40:54 | [Mutex] waiting for: [received:nodes:b99e1735-4f77-40b0-aec6-79c190d408b7:localhost]

2020-11-03 21:40:54 | [Mutex] received everything.

2020-11-03 21:40:54 | [Mutex] isItemNotified: received:node:b99e1735-4f77-40b0-aec6-79c190d408b7:localhost:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:Node 7a89adad-3160-4168-9f6e-149ed6bdf1de :: true

createSubnodes 1.026s
2020-11-03 21:40:54 |

2020-11-03 21:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:54 | ------------------------------------

2020-11-03 21:40:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-004aab30-2a5e-4850-be28-8acee2b270f9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 004aab30-2a5e-4850-be28-8acee2b270f9</title></pubsub></data>

2020-11-03 21:40:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-03 21:40:55 | [Mutex] waiting for: [received:nodes:aba50a2b-3df6-440f-a673-b68878a41567:localhost]

2020-11-03 21:40:55 | [Mutex] waiting for: [received:nodes:aba50a2b-3df6-440f-a673-b68878a41567:localhost]

2020-11-03 21:40:55 | [Mutex] received everything.

2020-11-03 21:40:55 | [Mutex] isItemNotified: received:node:aba50a2b-3df6-440f-a673-b68878a41567:localhost:node-004aab30-2a5e-4850-be28-8acee2b270f9:Node 004aab30-2a5e-4850-be28-8acee2b270f9 :: true

deleteNodes 1.021s
2020-11-03 21:41:01 |

2020-11-03 21:41:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:41:01 | ------------------------------------

2020-11-03 21:41:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-004aab30-2a5e-4850-be28-8acee2b270f9</node></data>

2020-11-03 21:41:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-03 21:41:02 | [Mutex] waiting for: [received:nodes:15d1ba49-d185-4517-8b17-4998b33dec2c:localhost]

2020-11-03 21:41:02 | [Mutex] received everything.

2020-11-03 21:41:02 | [Mutex] isItemNotified: received:node:15d1ba49-d185-4517-8b17-4998b33dec2c:localhost:node-004aab30-2a5e-4850-be28-8acee2b270f9:Node 004aab30-2a5e-4850-be28-8acee2b270f9 :: false

deleteSubnodes 1.168s
2020-11-03 21:41:00 |

2020-11-03 21:41:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:41:00 | ------------------------------------

2020-11-03 21:41:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node></data>

2020-11-03 21:41:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-03 21:41:01 | [Mutex] waiting for: [received:nodes:0bb0ee05-0591-4d92-8e4e-2f43e54f8a92:localhost]

2020-11-03 21:41:01 | [Mutex] waiting for: [received:nodes:0bb0ee05-0591-4d92-8e4e-2f43e54f8a92:localhost]

2020-11-03 21:41:01 | [Mutex] received everything.

2020-11-03 21:41:01 | [Mutex] isItemNotified: received:node:0bb0ee05-0591-4d92-8e4e-2f43e54f8a92:localhost:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:Node 7a89adad-3160-4168-9f6e-149ed6bdf1de :: false

2020-11-03 21:41:01 | [Mutex] waiting for: [received:nodes:d0b7a8b4-e6af-4168-95bb-12100d0a1904:localhost]

2020-11-03 21:41:01 | [Mutex] received everything.

2020-11-03 21:41:01 | [Mutex] isItemNotified: received:node:d0b7a8b4-e6af-4168-95bb-12100d0a1904:localhost:node-7a89adad-3160-4168-9f6e-149ed6bdf1de:Node 7a89adad-3160-4168-9f6e-149ed6bdf1de :: false

publishItemsToNodes 0.222s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><item-id>item-38362830-7133-4b58-bf16-47a6067cddac</item-id><entry><test>item-38362830-7133-4b58-bf16-47a6067cddac</test></entry></data>

2020-11-03 21:40:58 | 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-38362830-7133-4b58-bf16-47a6067cddac</value></item-id></result>

2020-11-03 21:40:58 | [Mutex] waiting for: [published:item:notifieditem-38362830-7133-4b58-bf16-47a6067cddac:admin@test-domain.com]

2020-11-03 21:40:58 | [Mutex] received everything.

2020-11-03 21:40:58 | [Mutex] isItemNotified: published:item:notifieditem-38362830-7133-4b58-bf16-47a6067cddac:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><item-id>item-38362830-7133-4b58-bf16-47a6067cddac</item-id></data>

2020-11-03 21:40:58 | 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-38362830-7133-4b58-bf16-47a6067cddac</value></item-id></result>

2020-11-03 21:40:58 | [Mutex] received everything.

2020-11-03 21:40:58 | [Mutex] isItemNotified: retracted:item:notifieditem-38362830-7133-4b58-bf16-47a6067cddac:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><item-id>item-38362830-7133-4b58-bf16-47a6067cddac</item-id></data>

2020-11-03 21:40:58 | 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-7a89adad-3160-4168-9f6e-149ed6bdf1de</value></node><item-id type="text-single" label="Item ID"><value>item-38362830-7133-4b58-bf16-47a6067cddac</value></item-id><item type="text-multi" label="Item"><value><item id="item-38362830-7133-4b58-bf16-47a6067cddac"><test>item-38362830-7133-4b58-bf16-47a6067cddac</test></item></value></item></result>

2020-11-03 21:40:58 | [Mutex] notify: [retrieved:item:item-38362830-7133-4b58-bf16-47a6067cddac:payload-matches:true:localhost]

2020-11-03 21:40:58 | [Mutex] received everything.

2020-11-03 21:40:58 | [Mutex] isItemNotified: retrieved:item:item-38362830-7133-4b58-bf16-47a6067cddac:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-03 21:40:58 | 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-7a89adad-3160-4168-9f6e-149ed6bdf1de</value><value>node-004aab30-2a5e-4850-be28-8acee2b270f9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a89adad-3160-4168-9f6e-149ed6bdf1de)</node-pattern></data>

2020-11-03 21:40:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.177s
2020-11-03 21:40:56 |

2020-11-03 21:40:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:56 | ------------------------------------

2020-11-03 21:40:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-03 21:40:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.260s
2020-11-03 21:40:58 |

2020-11-03 21:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-03 21:40:58 | ------------------------------------

2020-11-03 21:40:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a89adad-3160-4168-9f6e-149ed6bdf1de</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-03 21:40:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>