Generated by TestNG with ReportNG at 21:41 PST on Thursday 26 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.020s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2020-11-26 21:58:20 |

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

2020-11-26 21:58:20 | ------------------------------------

2020-11-26 21:58:20 | [Mutex] waiting for: [configured:node:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:node-a56312d3-acb9-48b5-91ac-203880c95492]

2020-11-26 21:58:20 | [Mutex] received everything.

2020-11-26 21:58:20 | [Mutex] isItemNotified: configured:node:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:node-a56312d3-acb9-48b5-91ac-203880c95492 :: true

2020-11-26 21:58:21 | [Mutex] waiting for: [received:nodes:2123fa34-ed64-4711-b6f2-b53c064c02f8:localhost]

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

2020-11-26 21:58:21 | [Mutex] isItemNotified: received:node:2123fa34-ed64-4711-b6f2-b53c064c02f8:localhost:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae :: true

2020-11-26 21:58:21 | [Mutex] waiting for: [received:nodes:ec2179c2-c833-41f1-b6a9-2cc921e8e628:localhost]

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

2020-11-26 21:58:21 | [Mutex] isItemNotified: received:node:ec2179c2-c833-41f1-b6a9-2cc921e8e628:localhost:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae :: false

createNodes 1.443s
2020-11-26 21:58:17 |

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

2020-11-26 21:58:17 | ------------------------------------

2020-11-26 21:58:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae</title></pubsub></data>

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

2020-11-26 21:58:19 | [Mutex] waiting for: [received:nodes:85f6a388-128d-499b-a744-3ae42df6029b:localhost]

2020-11-26 21:58:19 | [Mutex] received everything.

2020-11-26 21:58:19 | [Mutex] isItemNotified: received:node:85f6a388-128d-499b-a744-3ae42df6029b:localhost:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae :: true

createSubnodes 1.025s
2020-11-26 21:58:19 |

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

2020-11-26 21:58:19 | ------------------------------------

2020-11-26 21:58:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a56312d3-acb9-48b5-91ac-203880c95492</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a56312d3-acb9-48b5-91ac-203880c95492</title></pubsub></data>

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

2020-11-26 21:58:20 | [Mutex] waiting for: [received:nodes:c6118c77-79f6-4e2a-b467-444501327791:localhost]

2020-11-26 21:58:20 | [Mutex] received everything.

2020-11-26 21:58:20 | [Mutex] isItemNotified: received:node:c6118c77-79f6-4e2a-b467-444501327791:localhost:node-a56312d3-acb9-48b5-91ac-203880c95492:Node a56312d3-acb9-48b5-91ac-203880c95492 :: true

deleteNodes 1.018s
2020-11-26 21:58:25 |

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

2020-11-26 21:58:25 | ------------------------------------

2020-11-26 21:58:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a56312d3-acb9-48b5-91ac-203880c95492</node></data>

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

2020-11-26 21:58:26 | [Mutex] waiting for: [received:nodes:0e259bd6-09ba-40be-8694-406101d8086d:localhost]

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

2020-11-26 21:58:26 | [Mutex] isItemNotified: received:node:0e259bd6-09ba-40be-8694-406101d8086d:localhost:node-a56312d3-acb9-48b5-91ac-203880c95492:Node a56312d3-acb9-48b5-91ac-203880c95492 :: false

deleteSubnodes 1.124s
2020-11-26 21:58:24 |

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

2020-11-26 21:58:24 | ------------------------------------

2020-11-26 21:58:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node></data>

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

2020-11-26 21:58:25 | [Mutex] waiting for: [received:nodes:9a0c41f5-f67b-43c1-b75b-fc075514fd22:localhost]

2020-11-26 21:58:25 | [Mutex] received everything.

2020-11-26 21:58:25 | [Mutex] isItemNotified: received:node:9a0c41f5-f67b-43c1-b75b-fc075514fd22:localhost:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae :: false

2020-11-26 21:58:25 | [Mutex] waiting for: [received:nodes:f73c6142-effd-47ec-9914-684ca37f4b32:localhost]

2020-11-26 21:58:25 | [Mutex] received everything.

2020-11-26 21:58:25 | [Mutex] isItemNotified: received:node:f73c6142-effd-47ec-9914-684ca37f4b32:localhost:node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae:Node 9d41151d-12bd-45b0-8d44-30e9c8dac1ae :: false

publishItemsToNodes 0.193s
2020-11-26 21:58:22 |

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

2020-11-26 21:58:22 | ------------------------------------

2020-11-26 21:58:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><item-id>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</item-id><entry><test>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</test></entry></data>

2020-11-26 21:58:22 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</value></item-id></result>

2020-11-26 21:58:22 | [Mutex] waiting for: [published:item:notifieditem-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:admin@test-domain.com]

2020-11-26 21:58:22 | [Mutex] received everything.

2020-11-26 21:58:22 | [Mutex] isItemNotified: published:item:notifieditem-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:admin@test-domain.com :: true

retractItemsFromNodes 0.305s
2020-11-26 21:58:23 |

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

2020-11-26 21:58:23 | ------------------------------------

2020-11-26 21:58:23 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><item-id>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</item-id></data>

2020-11-26 21:58:23 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</value></item-id></result>

2020-11-26 21:58:23 | [Mutex] waiting for: [retracted:item:notifieditem-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:admin@test-domain.com]

2020-11-26 21:58:23 | [Mutex] received everything.

2020-11-26 21:58:23 | [Mutex] isItemNotified: retracted:item:notifieditem-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:admin@test-domain.com :: true

retrieveItemsFromNodes 0.297s
2020-11-26 21:58:22 |

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

2020-11-26 21:58:22 | ------------------------------------

2020-11-26 21:58:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><item-id>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</item-id></data>

2020-11-26 21:58:22 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</value></node><item-id label="Item ID" type="text-single"><value>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</value></item-id><item label="Item" type="text-multi"><value><item id="item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919"><test>item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919</test></item></value></item></result>

2020-11-26 21:58:22 | [Mutex] notify: [retrieved:item:item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:payload-matches:true:localhost]

2020-11-26 21:58:22 | [Mutex] received everything.

2020-11-26 21:58:22 | [Mutex] isItemNotified: retrieved:item:item-4fca07a4-0307-42e0-b6a5-3b3ae8f51919:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-26 21:58:22 |

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

2020-11-26 21:58:22 | ------------------------------------

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

2020-11-26 21:58:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a56312d3-acb9-48b5-91ac-203880c95492</value><value>test</value><value>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-26 21:58:23 |

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

2020-11-26 21:58:23 | ------------------------------------

2020-11-26 21:58:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae)</node-pattern></data>

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

subscribeNodes 1.097s
2020-11-26 21:58:21 |

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

2020-11-26 21:58:21 | ------------------------------------

2020-11-26 21:58:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.253s
2020-11-26 21:58:23 |

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

2020-11-26 21:58:23 | ------------------------------------

2020-11-26 21:58:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9d41151d-12bd-45b0-8d44-30e9c8dac1ae</node><jids><value>admin@test-domain.com</value></jids></data>

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