Generated by TestNG with ReportNG at 22:41 PDT on Thursday 17 June 2021
root@f29ef40080b5 / 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.172s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-06-17 22:56:27 |

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

2021-06-17 22:56:27 | ------------------------------------

2021-06-17 22:56:27 | [Mutex] waiting for: [configured:node:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:node-b95c461d-83e3-4884-964e-b52e013b17ca]

2021-06-17 22:56:27 | [Mutex] received everything.

2021-06-17 22:56:27 | [Mutex] isItemNotified: configured:node:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:node-b95c461d-83e3-4884-964e-b52e013b17ca :: true

2021-06-17 22:56:28 | [Mutex] waiting for: [received:nodes:954a1058-0ad5-4d4f-832d-ef0bfd6952e8:localhost]

2021-06-17 22:56:28 | [Mutex] received everything.

2021-06-17 22:56:28 | [Mutex] isItemNotified: received:node:954a1058-0ad5-4d4f-832d-ef0bfd6952e8:localhost:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:Node c4221d6d-5a09-42f3-b85e-c97d7b641de2 :: true

2021-06-17 22:56:28 | [Mutex] waiting for: [received:nodes:b7e60728-7e90-482a-8b8c-a8b7424c1f54:localhost]

2021-06-17 22:56:28 | [Mutex] received everything.

2021-06-17 22:56:28 | [Mutex] isItemNotified: received:node:b7e60728-7e90-482a-8b8c-a8b7424c1f54:localhost:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:Node c4221d6d-5a09-42f3-b85e-c97d7b641de2 :: false

createNodes 1.501s
2021-06-17 22:56:25 |

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

2021-06-17 22:56:25 | ------------------------------------

2021-06-17 22:56:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c4221d6d-5a09-42f3-b85e-c97d7b641de2</title></pubsub></data>

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

2021-06-17 22:56:26 | [Mutex] waiting for: [received:nodes:0754c3ad-8a91-4367-93e8-a51155a76590:localhost]

2021-06-17 22:56:26 | [Mutex] received everything.

2021-06-17 22:56:26 | [Mutex] isItemNotified: received:node:0754c3ad-8a91-4367-93e8-a51155a76590:localhost:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:Node c4221d6d-5a09-42f3-b85e-c97d7b641de2 :: true

createSubnodes 1.030s
2021-06-17 22:56:26 |

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

2021-06-17 22:56:26 | ------------------------------------

2021-06-17 22:56:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b95c461d-83e3-4884-964e-b52e013b17ca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b95c461d-83e3-4884-964e-b52e013b17ca</title></pubsub></data>

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

2021-06-17 22:56:27 | [Mutex] waiting for: [received:nodes:fb07face-3b71-4dcf-aab3-7b836c457ea5:localhost]

2021-06-17 22:56:27 | [Mutex] received everything.

2021-06-17 22:56:27 | [Mutex] isItemNotified: received:node:fb07face-3b71-4dcf-aab3-7b836c457ea5:localhost:node-b95c461d-83e3-4884-964e-b52e013b17ca:Node b95c461d-83e3-4884-964e-b52e013b17ca :: true

deleteNodes 1.023s
2021-06-17 22:56:33 |

2021-06-17 22:56:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:33 | ------------------------------------

2021-06-17 22:56:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b95c461d-83e3-4884-964e-b52e013b17ca</node></data>

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

2021-06-17 22:56:34 | [Mutex] waiting for: [received:nodes:096f08d2-806e-476b-933c-dd6824728cce:localhost]

2021-06-17 22:56:34 | [Mutex] waiting for: [received:nodes:096f08d2-806e-476b-933c-dd6824728cce:localhost]

2021-06-17 22:56:34 | [Mutex] received everything.

2021-06-17 22:56:34 | [Mutex] isItemNotified: received:node:096f08d2-806e-476b-933c-dd6824728cce:localhost:node-b95c461d-83e3-4884-964e-b52e013b17ca:Node b95c461d-83e3-4884-964e-b52e013b17ca :: false

deleteSubnodes 1.198s
2021-06-17 22:56:32 |

2021-06-17 22:56:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:32 | ------------------------------------

2021-06-17 22:56:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node></data>

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

2021-06-17 22:56:33 | [Mutex] waiting for: [received:nodes:b3269d5f-5faa-47d4-a219-ca940cd3e768:localhost]

2021-06-17 22:56:33 | [Mutex] waiting for: [received:nodes:b3269d5f-5faa-47d4-a219-ca940cd3e768:localhost]

2021-06-17 22:56:33 | [Mutex] received everything.

2021-06-17 22:56:33 | [Mutex] isItemNotified: received:node:b3269d5f-5faa-47d4-a219-ca940cd3e768:localhost:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:Node c4221d6d-5a09-42f3-b85e-c97d7b641de2 :: false

2021-06-17 22:56:33 | [Mutex] waiting for: [received:nodes:2afcbf9a-f7c0-4ef8-a62d-60765f78449f:localhost]

2021-06-17 22:56:33 | [Mutex] received everything.

2021-06-17 22:56:33 | [Mutex] isItemNotified: received:node:2afcbf9a-f7c0-4ef8-a62d-60765f78449f:localhost:node-c4221d6d-5a09-42f3-b85e-c97d7b641de2:Node c4221d6d-5a09-42f3-b85e-c97d7b641de2 :: false

publishItemsToNodes 0.301s
2021-06-17 22:56:29 |

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

2021-06-17 22:56:29 | ------------------------------------

2021-06-17 22:56:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><item-id>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</item-id><entry><test>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</test></entry></data>

2021-06-17 22:56:30 | 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-7e54c10e-f6d3-4ae5-b583-f060057e96ea</value></item-id></result>

2021-06-17 22:56:30 | [Mutex] received everything.

2021-06-17 22:56:30 | [Mutex] isItemNotified: published:item:notifieditem-7e54c10e-f6d3-4ae5-b583-f060057e96ea:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2021-06-17 22:56:30 |

2021-06-17 22:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:30 | ------------------------------------

2021-06-17 22:56:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><item-id>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</item-id></data>

2021-06-17 22:56:30 | 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-7e54c10e-f6d3-4ae5-b583-f060057e96ea</value></item-id></result>

2021-06-17 22:56:30 | [Mutex] waiting for: [retracted:item:notifieditem-7e54c10e-f6d3-4ae5-b583-f060057e96ea:admin@test-domain.com]

2021-06-17 22:56:30 | [Mutex] received everything.

2021-06-17 22:56:30 | [Mutex] isItemNotified: retracted:item:notifieditem-7e54c10e-f6d3-4ae5-b583-f060057e96ea:admin@test-domain.com :: true

retrieveItemsFromNodes 0.295s
2021-06-17 22:56:30 |

2021-06-17 22:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:30 | ------------------------------------

2021-06-17 22:56:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><item-id>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</item-id></data>

2021-06-17 22:56:30 | 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-c4221d6d-5a09-42f3-b85e-c97d7b641de2</value></node><item-id label="Item ID" type="text-single"><value>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</value></item-id><item label="Item" type="text-multi"><value><item id="item-7e54c10e-f6d3-4ae5-b583-f060057e96ea"><test>item-7e54c10e-f6d3-4ae5-b583-f060057e96ea</test></item></value></item></result>

2021-06-17 22:56:30 | [Mutex] notify: [retrieved:item:item-7e54c10e-f6d3-4ae5-b583-f060057e96ea:payload-matches:true:localhost]

2021-06-17 22:56:30 | [Mutex] received everything.

2021-06-17 22:56:30 | [Mutex] isItemNotified: retrieved:item:item-7e54c10e-f6d3-4ae5-b583-f060057e96ea:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-17 22:56:30 |

2021-06-17 22:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:30 | ------------------------------------

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

2021-06-17 22:56:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b95c461d-83e3-4884-964e-b52e013b17ca</value><value>test</value><value>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-17 22:56:30 |

2021-06-17 22:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:30 | ------------------------------------

2021-06-17 22:56:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c4221d6d-5a09-42f3-b85e-c97d7b641de2)</node-pattern></data>

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

subscribeNodes 1.215s
2021-06-17 22:56:28 |

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

2021-06-17 22:56:28 | ------------------------------------

2021-06-17 22:56:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-17 22:56:28 | 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
2021-06-17 22:56:30 |

2021-06-17 22:56:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:56:30 | ------------------------------------

2021-06-17 22:56:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c4221d6d-5a09-42f3-b85e-c97d7b641de2</node><jids><value>admin@test-domain.com</value></jids></data>

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