Generated by TestNG with ReportNG at 21:13 PST on Wednesday 18 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.099s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.160s
2020-11-18 21:28:43 |

2020-11-18 21:28:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:43 | ------------------------------------

2020-11-18 21:28:43 | [Mutex] waiting for: [configured:node:node-1f920407-3f93-48c3-9656-fddc207fce0c:node-01ad05dd-3110-46d2-865e-d87049e400e3]

2020-11-18 21:28:43 | [Mutex] received everything.

2020-11-18 21:28:43 | [Mutex] isItemNotified: configured:node:node-1f920407-3f93-48c3-9656-fddc207fce0c:node-01ad05dd-3110-46d2-865e-d87049e400e3 :: true

2020-11-18 21:28:44 | [Mutex] waiting for: [received:nodes:ecd60d78-748f-4529-a641-7d669e918ddf:localhost]

2020-11-18 21:28:44 | [Mutex] received everything.

2020-11-18 21:28:44 | [Mutex] isItemNotified: received:node:ecd60d78-748f-4529-a641-7d669e918ddf:localhost:node-1f920407-3f93-48c3-9656-fddc207fce0c:Node 1f920407-3f93-48c3-9656-fddc207fce0c :: true

2020-11-18 21:28:44 | [Mutex] waiting for: [received:nodes:8a01a590-5ce4-41e0-9946-b136cac77b40:localhost]

2020-11-18 21:28:44 | [Mutex] waiting for: [received:nodes:8a01a590-5ce4-41e0-9946-b136cac77b40:localhost]

2020-11-18 21:28:44 | [Mutex] waiting for: [received:nodes:8a01a590-5ce4-41e0-9946-b136cac77b40:localhost]

2020-11-18 21:28:44 | [Mutex] received everything.

2020-11-18 21:28:44 | [Mutex] isItemNotified: received:node:8a01a590-5ce4-41e0-9946-b136cac77b40:localhost:node-1f920407-3f93-48c3-9656-fddc207fce0c:Node 1f920407-3f93-48c3-9656-fddc207fce0c :: false

createNodes 1.613s
2020-11-18 21:28:40 |

2020-11-18 21:28:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:40 | ------------------------------------

2020-11-18 21:28:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1f920407-3f93-48c3-9656-fddc207fce0c</title></pubsub></data>

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

2020-11-18 21:28:42 | [Mutex] waiting for: [received:nodes:4826a765-3f04-4d05-84db-4fb330b5c7b4:localhost]

2020-11-18 21:28:42 | [Mutex] received everything.

2020-11-18 21:28:42 | [Mutex] isItemNotified: received:node:4826a765-3f04-4d05-84db-4fb330b5c7b4:localhost:node-1f920407-3f93-48c3-9656-fddc207fce0c:Node 1f920407-3f93-48c3-9656-fddc207fce0c :: true

createSubnodes 1.027s
2020-11-18 21:28:42 |

2020-11-18 21:28:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:42 | ------------------------------------

2020-11-18 21:28:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-01ad05dd-3110-46d2-865e-d87049e400e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 01ad05dd-3110-46d2-865e-d87049e400e3</title></pubsub></data>

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

2020-11-18 21:28:43 | [Mutex] waiting for: [received:nodes:4a9ad0e0-3fb1-44ec-b49f-226d96d27991:localhost]

2020-11-18 21:28:43 | [Mutex] waiting for: [received:nodes:4a9ad0e0-3fb1-44ec-b49f-226d96d27991:localhost]

2020-11-18 21:28:43 | [Mutex] received everything.

2020-11-18 21:28:43 | [Mutex] isItemNotified: received:node:4a9ad0e0-3fb1-44ec-b49f-226d96d27991:localhost:node-01ad05dd-3110-46d2-865e-d87049e400e3:Node 01ad05dd-3110-46d2-865e-d87049e400e3 :: true

deleteNodes 1.018s
2020-11-18 21:28:48 |

2020-11-18 21:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:48 | ------------------------------------

2020-11-18 21:28:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-01ad05dd-3110-46d2-865e-d87049e400e3</node></data>

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

2020-11-18 21:28:49 | [Mutex] waiting for: [received:nodes:79d2b902-3c81-4964-8023-f6e1318462b7:localhost]

2020-11-18 21:28:49 | [Mutex] received everything.

2020-11-18 21:28:49 | [Mutex] isItemNotified: received:node:79d2b902-3c81-4964-8023-f6e1318462b7:localhost:node-01ad05dd-3110-46d2-865e-d87049e400e3:Node 01ad05dd-3110-46d2-865e-d87049e400e3 :: false

deleteSubnodes 1.118s
2020-11-18 21:28:47 |

2020-11-18 21:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:47 | ------------------------------------

2020-11-18 21:28:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node></data>

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

2020-11-18 21:28:48 | [Mutex] waiting for: [received:nodes:fc04d302-cc6c-4361-bfbb-7eb32b8e1b08:localhost]

2020-11-18 21:28:48 | [Mutex] received everything.

2020-11-18 21:28:48 | [Mutex] isItemNotified: received:node:fc04d302-cc6c-4361-bfbb-7eb32b8e1b08:localhost:node-1f920407-3f93-48c3-9656-fddc207fce0c:Node 1f920407-3f93-48c3-9656-fddc207fce0c :: false

2020-11-18 21:28:48 | [Mutex] waiting for: [received:nodes:8a3f3d51-6ccd-4161-b107-a74624e470e5:localhost]

2020-11-18 21:28:48 | [Mutex] received everything.

2020-11-18 21:28:48 | [Mutex] isItemNotified: received:node:8a3f3d51-6ccd-4161-b107-a74624e470e5:localhost:node-1f920407-3f93-48c3-9656-fddc207fce0c:Node 1f920407-3f93-48c3-9656-fddc207fce0c :: false

publishItemsToNodes 0.226s
2020-11-18 21:28:45 |

2020-11-18 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:45 | ------------------------------------

2020-11-18 21:28:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><item-id>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</item-id><entry><test>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</test></entry></data>

2020-11-18 21:28:45 | 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-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</value></item-id></result>

2020-11-18 21:28:45 | [Mutex] waiting for: [published:item:notifieditem-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:admin@test-domain.com]

2020-11-18 21:28:45 | [Mutex] received everything.

2020-11-18 21:28:45 | [Mutex] isItemNotified: published:item:notifieditem-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-11-18 21:28:46 |

2020-11-18 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:46 | ------------------------------------

2020-11-18 21:28:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><item-id>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</item-id></data>

2020-11-18 21:28:46 | 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-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</value></item-id></result>

2020-11-18 21:28:46 | [Mutex] waiting for: [retracted:item:notifieditem-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:admin@test-domain.com]

2020-11-18 21:28:46 | [Mutex] received everything.

2020-11-18 21:28:46 | [Mutex] isItemNotified: retracted:item:notifieditem-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2020-11-18 21:28:45 |

2020-11-18 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:45 | ------------------------------------

2020-11-18 21:28:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><item-id>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</item-id></data>

2020-11-18 21:28:46 | 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-1f920407-3f93-48c3-9656-fddc207fce0c</value></node><item-id label="Item ID" type="text-single"><value>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</value></item-id><item label="Item" type="text-multi"><value><item id="item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a"><test>item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a</test></item></value></item></result>

2020-11-18 21:28:46 | [Mutex] notify: [retrieved:item:item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:payload-matches:true:localhost]

2020-11-18 21:28:46 | [Mutex] received everything.

2020-11-18 21:28:46 | [Mutex] isItemNotified: retrieved:item:item-ed0072da-f1b2-4f09-bfca-6a69c8d1841a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-11-18 21:28:46 |

2020-11-18 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:46 | ------------------------------------

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

2020-11-18 21:28:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-01ad05dd-3110-46d2-865e-d87049e400e3</value><value>test</value><value>node-1f920407-3f93-48c3-9656-fddc207fce0c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-11-18 21:28:46 |

2020-11-18 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:46 | ------------------------------------

2020-11-18 21:28:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1f920407-3f93-48c3-9656-fddc207fce0c)</node-pattern></data>

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

subscribeNodes 1.096s
2020-11-18 21:28:44 |

2020-11-18 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:44 | ------------------------------------

2020-11-18 21:28:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-18 21:28:44 | 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-18 21:28:46 |

2020-11-18 21:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-18 21:28:46 | ------------------------------------

2020-11-18 21:28:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1f920407-3f93-48c3-9656-fddc207fce0c</node><jids><value>admin@test-domain.com</value></jids></data>

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