Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 17 March 2021
root@eaa73862192b / 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 : 9.923s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2021-03-17 22:29:21 |

2021-03-17 22:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:21 | ------------------------------------

2021-03-17 22:29:21 | [Mutex] waiting for: [configured:node:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:node-e9f072bb-8b44-436a-b155-eee9a407ea7c]

2021-03-17 22:29:22 | [Mutex] received everything.

2021-03-17 22:29:22 | [Mutex] isItemNotified: configured:node:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:node-e9f072bb-8b44-436a-b155-eee9a407ea7c :: true

2021-03-17 22:29:23 | [Mutex] waiting for: [received:nodes:f989ce46-fc12-41cf-8361-be940b0b7808:localhost]

2021-03-17 22:29:23 | [Mutex] received everything.

2021-03-17 22:29:23 | [Mutex] isItemNotified: received:node:f989ce46-fc12-41cf-8361-be940b0b7808:localhost:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:Node d1b604fc-d89b-4da5-b90f-30e3e161cecc :: true

2021-03-17 22:29:23 | [Mutex] waiting for: [received:nodes:08077a06-caab-41f8-bfe1-44ab423b19a5:localhost]

2021-03-17 22:29:23 | [Mutex] waiting for: [received:nodes:08077a06-caab-41f8-bfe1-44ab423b19a5:localhost]

2021-03-17 22:29:23 | [Mutex] received everything.

2021-03-17 22:29:23 | [Mutex] isItemNotified: received:node:08077a06-caab-41f8-bfe1-44ab423b19a5:localhost:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:Node d1b604fc-d89b-4da5-b90f-30e3e161cecc :: false

createNodes 1.398s
2021-03-17 22:29:19 |

2021-03-17 22:29:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:19 | ------------------------------------

2021-03-17 22:29:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d1b604fc-d89b-4da5-b90f-30e3e161cecc</title></pubsub></data>

2021-03-17 22:29:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:29:20 | [Mutex] waiting for: [received:nodes:0f5e83da-a7e0-4cb8-8127-d8c073149f91:localhost]

2021-03-17 22:29:20 | [Mutex] received everything.

2021-03-17 22:29:20 | [Mutex] isItemNotified: received:node:0f5e83da-a7e0-4cb8-8127-d8c073149f91:localhost:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:Node d1b604fc-d89b-4da5-b90f-30e3e161cecc :: true

createSubnodes 1.027s
2021-03-17 22:29:20 |

2021-03-17 22:29:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:20 | ------------------------------------

2021-03-17 22:29:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e9f072bb-8b44-436a-b155-eee9a407ea7c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9f072bb-8b44-436a-b155-eee9a407ea7c</title></pubsub></data>

2021-03-17 22:29:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:29:21 | [Mutex] waiting for: [received:nodes:90839fc8-b1ae-4cbc-a624-c9d45dfaf679:localhost]

2021-03-17 22:29:21 | [Mutex] received everything.

2021-03-17 22:29:21 | [Mutex] isItemNotified: received:node:90839fc8-b1ae-4cbc-a624-c9d45dfaf679:localhost:node-e9f072bb-8b44-436a-b155-eee9a407ea7c:Node e9f072bb-8b44-436a-b155-eee9a407ea7c :: true

deleteNodes 1.018s
2021-03-17 22:29:27 |

2021-03-17 22:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:27 | ------------------------------------

2021-03-17 22:29:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e9f072bb-8b44-436a-b155-eee9a407ea7c</node></data>

2021-03-17 22:29:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:29:28 | [Mutex] waiting for: [received:nodes:07085f0b-7bbd-4470-b06d-92a7a3e2ea9f:localhost]

2021-03-17 22:29:28 | [Mutex] received everything.

2021-03-17 22:29:28 | [Mutex] isItemNotified: received:node:07085f0b-7bbd-4470-b06d-92a7a3e2ea9f:localhost:node-e9f072bb-8b44-436a-b155-eee9a407ea7c:Node e9f072bb-8b44-436a-b155-eee9a407ea7c :: false

deleteSubnodes 1.123s
2021-03-17 22:29:26 |

2021-03-17 22:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:26 | ------------------------------------

2021-03-17 22:29:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node></data>

2021-03-17 22:29:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:29:27 | [Mutex] waiting for: [received:nodes:d95d68e2-48e4-47a1-ac96-9d9cb5267994:localhost]

2021-03-17 22:29:27 | [Mutex] received everything.

2021-03-17 22:29:27 | [Mutex] isItemNotified: received:node:d95d68e2-48e4-47a1-ac96-9d9cb5267994:localhost:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:Node d1b604fc-d89b-4da5-b90f-30e3e161cecc :: false

2021-03-17 22:29:27 | [Mutex] waiting for: [received:nodes:ab97d9b8-24e0-4028-a951-a30d64b20bf1:localhost]

2021-03-17 22:29:27 | [Mutex] received everything.

2021-03-17 22:29:27 | [Mutex] isItemNotified: received:node:ab97d9b8-24e0-4028-a951-a30d64b20bf1:localhost:node-d1b604fc-d89b-4da5-b90f-30e3e161cecc:Node d1b604fc-d89b-4da5-b90f-30e3e161cecc :: false

publishItemsToNodes 0.233s
2021-03-17 22:29:24 |

2021-03-17 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:24 | ------------------------------------

2021-03-17 22:29:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><item-id>item-25a7620e-2293-45fa-98c7-e17925c45a82</item-id><entry><test>item-25a7620e-2293-45fa-98c7-e17925c45a82</test></entry></data>

2021-03-17 22:29:24 | 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-25a7620e-2293-45fa-98c7-e17925c45a82</value></item-id></result>

2021-03-17 22:29:24 | [Mutex] waiting for: [published:item:notifieditem-25a7620e-2293-45fa-98c7-e17925c45a82:admin@test-domain.com]

2021-03-17 22:29:24 | [Mutex] received everything.

2021-03-17 22:29:24 | [Mutex] isItemNotified: published:item:notifieditem-25a7620e-2293-45fa-98c7-e17925c45a82:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2021-03-17 22:29:24 |

2021-03-17 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:24 | ------------------------------------

2021-03-17 22:29:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><item-id>item-25a7620e-2293-45fa-98c7-e17925c45a82</item-id></data>

2021-03-17 22:29:25 | 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-25a7620e-2293-45fa-98c7-e17925c45a82</value></item-id></result>

2021-03-17 22:29:25 | [Mutex] received everything.

2021-03-17 22:29:25 | [Mutex] isItemNotified: retracted:item:notifieditem-25a7620e-2293-45fa-98c7-e17925c45a82:admin@test-domain.com :: true

retrieveItemsFromNodes 0.322s
2021-03-17 22:29:24 |

2021-03-17 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:24 | ------------------------------------

2021-03-17 22:29:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><item-id>item-25a7620e-2293-45fa-98c7-e17925c45a82</item-id></data>

2021-03-17 22:29:24 | 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-d1b604fc-d89b-4da5-b90f-30e3e161cecc</value></node><item-id type="text-single" label="Item ID"><value>item-25a7620e-2293-45fa-98c7-e17925c45a82</value></item-id><item type="text-multi" label="Item"><value><item id="item-25a7620e-2293-45fa-98c7-e17925c45a82"><test>item-25a7620e-2293-45fa-98c7-e17925c45a82</test></item></value></item></result>

2021-03-17 22:29:24 | [Mutex] notify: [retrieved:item:item-25a7620e-2293-45fa-98c7-e17925c45a82:payload-matches:true:localhost]

2021-03-17 22:29:24 | [Mutex] received everything.

2021-03-17 22:29:24 | [Mutex] isItemNotified: retrieved:item:item-25a7620e-2293-45fa-98c7-e17925c45a82:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-17 22:29:24 |

2021-03-17 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:24 | ------------------------------------

2021-03-17 22:29:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-17 22:29:24 | 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-d1b604fc-d89b-4da5-b90f-30e3e161cecc</value><value>node-e9f072bb-8b44-436a-b155-eee9a407ea7c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-17 22:29:24 |

2021-03-17 22:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:24 | ------------------------------------

2021-03-17 22:29:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d1b604fc-d89b-4da5-b90f-30e3e161cecc)</node-pattern></data>

2021-03-17 22:29:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.112s
2021-03-17 22:29:23 |

2021-03-17 22:29:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:23 | ------------------------------------

2021-03-17 22:29:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:29:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.308s
2021-03-17 22:29:25 |

2021-03-17 22:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:29:25 | ------------------------------------

2021-03-17 22:29:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d1b604fc-d89b-4da5-b90f-30e3e161cecc</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:29:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>