Generated by TestNG with ReportNG at 21:14 PST on Thursday 18 February 2021
root@87f6aca6b6f2 / 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.205s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2021-02-18 21:31:22 |

2021-02-18 21:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:22 | ------------------------------------

2021-02-18 21:31:22 | [Mutex] waiting for: [configured:node:node-69cbe58a-775e-4ec8-8809-df52930fd89b:node-5eed1dd6-e676-4d69-ad99-3ade25a81613]

2021-02-18 21:31:22 | [Mutex] received everything.

2021-02-18 21:31:22 | [Mutex] isItemNotified: configured:node:node-69cbe58a-775e-4ec8-8809-df52930fd89b:node-5eed1dd6-e676-4d69-ad99-3ade25a81613 :: true

2021-02-18 21:31:23 | [Mutex] waiting for: [received:nodes:7f469561-5fa6-4936-9723-ab39b6c68017:localhost]

2021-02-18 21:31:23 | [Mutex] received everything.

2021-02-18 21:31:23 | [Mutex] isItemNotified: received:node:7f469561-5fa6-4936-9723-ab39b6c68017:localhost:node-69cbe58a-775e-4ec8-8809-df52930fd89b:Node 69cbe58a-775e-4ec8-8809-df52930fd89b :: true

2021-02-18 21:31:23 | [Mutex] waiting for: [received:nodes:5f7f53c0-10fc-4f39-aea7-b1af248510fb:localhost]

2021-02-18 21:31:23 | [Mutex] received everything.

2021-02-18 21:31:23 | [Mutex] isItemNotified: received:node:5f7f53c0-10fc-4f39-aea7-b1af248510fb:localhost:node-69cbe58a-775e-4ec8-8809-df52930fd89b:Node 69cbe58a-775e-4ec8-8809-df52930fd89b :: false

createNodes 1.600s
2021-02-18 21:31:19 |

2021-02-18 21:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:19 | ------------------------------------

2021-02-18 21:31:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 69cbe58a-775e-4ec8-8809-df52930fd89b</title></pubsub></data>

2021-02-18 21:31:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:21 | [Mutex] waiting for: [received:nodes:ea45e81c-08ff-4382-92db-260ed9a0d705:localhost]

2021-02-18 21:31:21 | [Mutex] received everything.

2021-02-18 21:31:21 | [Mutex] isItemNotified: received:node:ea45e81c-08ff-4382-92db-260ed9a0d705:localhost:node-69cbe58a-775e-4ec8-8809-df52930fd89b:Node 69cbe58a-775e-4ec8-8809-df52930fd89b :: true

createSubnodes 1.030s
2021-02-18 21:31:21 |

2021-02-18 21:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:21 | ------------------------------------

2021-02-18 21:31:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5eed1dd6-e676-4d69-ad99-3ade25a81613</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5eed1dd6-e676-4d69-ad99-3ade25a81613</title></pubsub></data>

2021-02-18 21:31:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:22 | [Mutex] waiting for: [received:nodes:5a37932e-d96f-4f88-a2bd-015cb09420d5:localhost]

2021-02-18 21:31:22 | [Mutex] received everything.

2021-02-18 21:31:22 | [Mutex] isItemNotified: received:node:5a37932e-d96f-4f88-a2bd-015cb09420d5:localhost:node-5eed1dd6-e676-4d69-ad99-3ade25a81613:Node 5eed1dd6-e676-4d69-ad99-3ade25a81613 :: true

deleteNodes 1.024s
2021-02-18 21:31:27 |

2021-02-18 21:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:27 | ------------------------------------

2021-02-18 21:31:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5eed1dd6-e676-4d69-ad99-3ade25a81613</node></data>

2021-02-18 21:31:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:29 | [Mutex] waiting for: [received:nodes:42832c6b-b608-465c-a351-d4712558e124:localhost]

2021-02-18 21:31:29 | [Mutex] received everything.

2021-02-18 21:31:29 | [Mutex] isItemNotified: received:node:42832c6b-b608-465c-a351-d4712558e124:localhost:node-5eed1dd6-e676-4d69-ad99-3ade25a81613:Node 5eed1dd6-e676-4d69-ad99-3ade25a81613 :: false

deleteSubnodes 1.134s
2021-02-18 21:31:26 |

2021-02-18 21:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:26 | ------------------------------------

2021-02-18 21:31:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node></data>

2021-02-18 21:31:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-18 21:31:27 | [Mutex] waiting for: [received:nodes:8f95d3f2-8ea4-4459-9a0b-9555dd2c97d4:localhost]

2021-02-18 21:31:27 | [Mutex] received everything.

2021-02-18 21:31:27 | [Mutex] isItemNotified: received:node:8f95d3f2-8ea4-4459-9a0b-9555dd2c97d4:localhost:node-69cbe58a-775e-4ec8-8809-df52930fd89b:Node 69cbe58a-775e-4ec8-8809-df52930fd89b :: false

2021-02-18 21:31:27 | [Mutex] waiting for: [received:nodes:c3447dab-95c1-475e-8d6d-75768e656f4f:localhost]

2021-02-18 21:31:27 | [Mutex] received everything.

2021-02-18 21:31:27 | [Mutex] isItemNotified: received:node:c3447dab-95c1-475e-8d6d-75768e656f4f:localhost:node-69cbe58a-775e-4ec8-8809-df52930fd89b:Node 69cbe58a-775e-4ec8-8809-df52930fd89b :: false

publishItemsToNodes 0.228s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><item-id>item-768c5766-8d74-49e1-9021-9e43e0b4e541</item-id><entry><test>item-768c5766-8d74-49e1-9021-9e43e0b4e541</test></entry></data>

2021-02-18 21:31: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-768c5766-8d74-49e1-9021-9e43e0b4e541</value></item-id></result>

2021-02-18 21:31:24 | [Mutex] waiting for: [published:item:notifieditem-768c5766-8d74-49e1-9021-9e43e0b4e541:admin@test-domain.com]

2021-02-18 21:31:24 | [Mutex] received everything.

2021-02-18 21:31:24 | [Mutex] isItemNotified: published:item:notifieditem-768c5766-8d74-49e1-9021-9e43e0b4e541:admin@test-domain.com :: true

retractItemsFromNodes 0.360s
2021-02-18 21:31:25 |

2021-02-18 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:25 | ------------------------------------

2021-02-18 21:31:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><item-id>item-768c5766-8d74-49e1-9021-9e43e0b4e541</item-id></data>

2021-02-18 21:31: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-768c5766-8d74-49e1-9021-9e43e0b4e541</value></item-id></result>

2021-02-18 21:31:25 | [Mutex] waiting for: [retracted:item:notifieditem-768c5766-8d74-49e1-9021-9e43e0b4e541:admin@test-domain.com]

2021-02-18 21:31:25 | [Mutex] received everything.

2021-02-18 21:31:25 | [Mutex] isItemNotified: retracted:item:notifieditem-768c5766-8d74-49e1-9021-9e43e0b4e541:admin@test-domain.com :: true

retrieveItemsFromNodes 0.187s
2021-02-18 21:31:24 |

2021-02-18 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:24 | ------------------------------------

2021-02-18 21:31:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><item-id>item-768c5766-8d74-49e1-9021-9e43e0b4e541</item-id></data>

2021-02-18 21:31:25 | 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-69cbe58a-775e-4ec8-8809-df52930fd89b</value></node><item-id type="text-single" label="Item ID"><value>item-768c5766-8d74-49e1-9021-9e43e0b4e541</value></item-id><item type="text-multi" label="Item"><value><item id="item-768c5766-8d74-49e1-9021-9e43e0b4e541"><test>item-768c5766-8d74-49e1-9021-9e43e0b4e541</test></item></value></item></result>

2021-02-18 21:31:25 | [Mutex] notify: [retrieved:item:item-768c5766-8d74-49e1-9021-9e43e0b4e541:payload-matches:true:localhost]

2021-02-18 21:31:25 | [Mutex] received everything.

2021-02-18 21:31:25 | [Mutex] isItemNotified: retrieved:item:item-768c5766-8d74-49e1-9021-9e43e0b4e541:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-02-18 21:31:25 |

2021-02-18 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:25 | ------------------------------------

2021-02-18 21:31:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-18 21:31:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-69cbe58a-775e-4ec8-8809-df52930fd89b</value><value>test</value><value>node-5eed1dd6-e676-4d69-ad99-3ade25a81613</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-02-18 21:31:25 |

2021-02-18 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:25 | ------------------------------------

2021-02-18 21:31:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-69cbe58a-775e-4ec8-8809-df52930fd89b)</node-pattern></data>

2021-02-18 21:31:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.120s
2021-02-18 21:31:23 |

2021-02-18 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:23 | ------------------------------------

2021-02-18 21:31:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 21:31: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.250s
2021-02-18 21:31:25 |

2021-02-18 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-18 21:31:25 | ------------------------------------

2021-02-18 21:31:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-69cbe58a-775e-4ec8-8809-df52930fd89b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-18 21:31:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>