Generated by TestNG with ReportNG at 21:51 PST on Thursday 28 January 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.980s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2021-01-28 22:07:51 |

2021-01-28 22:07:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:51 | ------------------------------------

2021-01-28 22:07:51 | [Mutex] waiting for: [configured:node:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:node-e801c292-d217-481f-bd96-e2c80df23a85]

2021-01-28 22:07:51 | [Mutex] received everything.

2021-01-28 22:07:51 | [Mutex] isItemNotified: configured:node:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:node-e801c292-d217-481f-bd96-e2c80df23a85 :: true

2021-01-28 22:07:52 | [Mutex] waiting for: [received:nodes:4a2848e4-7531-4bab-a2c9-37f17fb8058a:localhost]

2021-01-28 22:07:52 | [Mutex] received everything.

2021-01-28 22:07:52 | [Mutex] isItemNotified: received:node:4a2848e4-7531-4bab-a2c9-37f17fb8058a:localhost:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91 :: true

2021-01-28 22:07:52 | [Mutex] waiting for: [received:nodes:eb0e286c-8303-4a2b-a3c6-cce214601a71:localhost]

2021-01-28 22:07:52 | [Mutex] received everything.

2021-01-28 22:07:52 | [Mutex] isItemNotified: received:node:eb0e286c-8303-4a2b-a3c6-cce214601a71:localhost:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91 :: false

createNodes 1.476s
2021-01-28 22:07:49 |

2021-01-28 22:07:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:49 | ------------------------------------

2021-01-28 22:07:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</title></pubsub></data>

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

2021-01-28 22:07:50 | [Mutex] waiting for: [received:nodes:ad2a99f7-3ffa-4469-bf3c-04c1b7f2d1a1:localhost]

2021-01-28 22:07:50 | [Mutex] received everything.

2021-01-28 22:07:50 | [Mutex] isItemNotified: received:node:ad2a99f7-3ffa-4469-bf3c-04c1b7f2d1a1:localhost:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91 :: true

createSubnodes 1.034s
2021-01-28 22:07:50 |

2021-01-28 22:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:50 | ------------------------------------

2021-01-28 22:07:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e801c292-d217-481f-bd96-e2c80df23a85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e801c292-d217-481f-bd96-e2c80df23a85</title></pubsub></data>

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

2021-01-28 22:07:51 | [Mutex] waiting for: [received:nodes:f9016f6e-232d-4aab-8582-dbd79fba3211:localhost]

2021-01-28 22:07:51 | [Mutex] waiting for: [received:nodes:f9016f6e-232d-4aab-8582-dbd79fba3211:localhost]

2021-01-28 22:07:51 | [Mutex] received everything.

2021-01-28 22:07:51 | [Mutex] isItemNotified: received:node:f9016f6e-232d-4aab-8582-dbd79fba3211:localhost:node-e801c292-d217-481f-bd96-e2c80df23a85:Node e801c292-d217-481f-bd96-e2c80df23a85 :: true

deleteNodes 1.023s
2021-01-28 22:07:57 |

2021-01-28 22:07:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:57 | ------------------------------------

2021-01-28 22:07:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e801c292-d217-481f-bd96-e2c80df23a85</node></data>

2021-01-28 22:07:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 22:07:58 | [Mutex] waiting for: [received:nodes:338b6031-d406-4e43-877c-22b66b9078b1:localhost]

2021-01-28 22:07:58 | [Mutex] waiting for: [received:nodes:338b6031-d406-4e43-877c-22b66b9078b1:localhost]

2021-01-28 22:07:58 | [Mutex] received everything.

2021-01-28 22:07:58 | [Mutex] isItemNotified: received:node:338b6031-d406-4e43-877c-22b66b9078b1:localhost:node-e801c292-d217-481f-bd96-e2c80df23a85:Node e801c292-d217-481f-bd96-e2c80df23a85 :: false

deleteSubnodes 1.137s
2021-01-28 22:07:56 |

2021-01-28 22:07:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:56 | ------------------------------------

2021-01-28 22:07:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node></data>

2021-01-28 22:07:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 22:07:57 | [Mutex] waiting for: [received:nodes:041647b6-762d-4189-a8e6-eb3616af8032:localhost]

2021-01-28 22:07:57 | [Mutex] waiting for: [received:nodes:041647b6-762d-4189-a8e6-eb3616af8032:localhost]

2021-01-28 22:07:57 | [Mutex] received everything.

2021-01-28 22:07:57 | [Mutex] isItemNotified: received:node:041647b6-762d-4189-a8e6-eb3616af8032:localhost:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91 :: false

2021-01-28 22:07:57 | [Mutex] waiting for: [received:nodes:20ac9011-8c04-45fc-b115-e53b810e8914:localhost]

2021-01-28 22:07:57 | [Mutex] received everything.

2021-01-28 22:07:57 | [Mutex] isItemNotified: received:node:20ac9011-8c04-45fc-b115-e53b810e8914:localhost:node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91:Node c28e5f37-6df6-404d-a6d0-a4dd63ca6d91 :: false

publishItemsToNodes 0.244s
2021-01-28 22:07:53 |

2021-01-28 22:07:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:53 | ------------------------------------

2021-01-28 22:07:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><item-id>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</item-id><entry><test>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</test></entry></data>

2021-01-28 22:07:54 | 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-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</value></item-id></result>

2021-01-28 22:07:54 | [Mutex] waiting for: [published:item:notifieditem-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:admin@test-domain.com]

2021-01-28 22:07:54 | [Mutex] received everything.

2021-01-28 22:07:54 | [Mutex] isItemNotified: published:item:notifieditem-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:admin@test-domain.com :: true

retractItemsFromNodes 0.237s
2021-01-28 22:07:54 |

2021-01-28 22:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:54 | ------------------------------------

2021-01-28 22:07:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><item-id>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</item-id></data>

2021-01-28 22:07:54 | 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-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</value></item-id></result>

2021-01-28 22:07:54 | [Mutex] waiting for: [retracted:item:notifieditem-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:admin@test-domain.com]

2021-01-28 22:07:54 | [Mutex] received everything.

2021-01-28 22:07:54 | [Mutex] isItemNotified: retracted:item:notifieditem-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2021-01-28 22:07:54 |

2021-01-28 22:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:54 | ------------------------------------

2021-01-28 22:07:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><item-id>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</item-id></data>

2021-01-28 22:07:54 | 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-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</value></node><item-id label="Item ID" type="text-single"><value>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</value></item-id><item label="Item" type="text-multi"><value><item id="item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7"><test>item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7</test></item></value></item></result>

2021-01-28 22:07:54 | [Mutex] notify: [retrieved:item:item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:payload-matches:true:localhost]

2021-01-28 22:07:54 | [Mutex] received everything.

2021-01-28 22:07:54 | [Mutex] isItemNotified: retrieved:item:item-a6c4e555-ccce-49f4-9fc3-34a79d5801e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-28 22:07:54 |

2021-01-28 22:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:54 | ------------------------------------

2021-01-28 22:07:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-28 22:07:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e801c292-d217-481f-bd96-e2c80df23a85</value><value>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-01-28 22:07:54 |

2021-01-28 22:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:54 | ------------------------------------

2021-01-28 22:07:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91)</node-pattern></data>

2021-01-28 22:07:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.176s
2021-01-28 22:07:52 |

2021-01-28 22:07:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:52 | ------------------------------------

2021-01-28 22:07:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-28 22:07:52 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.294s
2021-01-28 22:07:54 |

2021-01-28 22:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 22:07:54 | ------------------------------------

2021-01-28 22:07:54 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c28e5f37-6df6-404d-a6d0-a4dd63ca6d91</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-28 22:07:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>