Generated by TestNG with ReportNG at 22:13 PDT on Thursday 30 September 2021
root@b2c2a8eba6e6 / 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.025s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2021-09-30 22:28:09 |

2021-09-30 22:28:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:09 | ------------------------------------

2021-09-30 22:28:09 | [Mutex] waiting for: [configured:node:node-1a6d9a0b-a896-4b00-a821-68006061509f:node-8b9ec97d-b549-455b-915d-a99e5163b423]

2021-09-30 22:28:09 | [Mutex] received everything.

2021-09-30 22:28:09 | [Mutex] isItemNotified: configured:node:node-1a6d9a0b-a896-4b00-a821-68006061509f:node-8b9ec97d-b549-455b-915d-a99e5163b423 :: true

2021-09-30 22:28:10 | [Mutex] waiting for: [received:nodes:6b0118d9-3df0-4453-b587-7f55cae6ec5b:localhost]

2021-09-30 22:28:10 | [Mutex] received everything.

2021-09-30 22:28:10 | [Mutex] isItemNotified: received:node:6b0118d9-3df0-4453-b587-7f55cae6ec5b:localhost:node-1a6d9a0b-a896-4b00-a821-68006061509f:Node 1a6d9a0b-a896-4b00-a821-68006061509f :: true

2021-09-30 22:28:10 | [Mutex] waiting for: [received:nodes:474d8de4-4060-4473-8a50-1ddab3d73a23:localhost]

2021-09-30 22:28:10 | [Mutex] waiting for: [received:nodes:474d8de4-4060-4473-8a50-1ddab3d73a23:localhost]

2021-09-30 22:28:10 | [Mutex] waiting for: [received:nodes:474d8de4-4060-4473-8a50-1ddab3d73a23:localhost]

2021-09-30 22:28:10 | [Mutex] received everything.

2021-09-30 22:28:10 | [Mutex] isItemNotified: received:node:474d8de4-4060-4473-8a50-1ddab3d73a23:localhost:node-1a6d9a0b-a896-4b00-a821-68006061509f:Node 1a6d9a0b-a896-4b00-a821-68006061509f :: false

createNodes 1.468s
2021-09-30 22:28:07 |

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

2021-09-30 22:28:07 | ------------------------------------

2021-09-30 22:28:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a6d9a0b-a896-4b00-a821-68006061509f</title></pubsub></data>

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

2021-09-30 22:28:08 | [Mutex] waiting for: [received:nodes:a262412a-e106-4121-aa25-a764acfc0b4d:localhost]

2021-09-30 22:28:08 | [Mutex] waiting for: [received:nodes:a262412a-e106-4121-aa25-a764acfc0b4d:localhost]

2021-09-30 22:28:08 | [Mutex] received everything.

2021-09-30 22:28:08 | [Mutex] isItemNotified: received:node:a262412a-e106-4121-aa25-a764acfc0b4d:localhost:node-1a6d9a0b-a896-4b00-a821-68006061509f:Node 1a6d9a0b-a896-4b00-a821-68006061509f :: true

createSubnodes 1.027s
2021-09-30 22:28:08 |

2021-09-30 22:28:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:08 | ------------------------------------

2021-09-30 22:28:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b9ec97d-b549-455b-915d-a99e5163b423</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8b9ec97d-b549-455b-915d-a99e5163b423</title></pubsub></data>

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

2021-09-30 22:28:09 | [Mutex] waiting for: [received:nodes:d222322e-a376-4a81-b73f-04328250a653:localhost]

2021-09-30 22:28:09 | [Mutex] received everything.

2021-09-30 22:28:09 | [Mutex] isItemNotified: received:node:d222322e-a376-4a81-b73f-04328250a653:localhost:node-8b9ec97d-b549-455b-915d-a99e5163b423:Node 8b9ec97d-b549-455b-915d-a99e5163b423 :: true

deleteNodes 1.018s
2021-09-30 22:28:15 |

2021-09-30 22:28:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:15 | ------------------------------------

2021-09-30 22:28:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b9ec97d-b549-455b-915d-a99e5163b423</node></data>

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

2021-09-30 22:28:16 | [Mutex] waiting for: [received:nodes:78293a81-1883-44ff-b88a-e5e97876c8d3:localhost]

2021-09-30 22:28:16 | [Mutex] received everything.

2021-09-30 22:28:16 | [Mutex] isItemNotified: received:node:78293a81-1883-44ff-b88a-e5e97876c8d3:localhost:node-8b9ec97d-b549-455b-915d-a99e5163b423:Node 8b9ec97d-b549-455b-915d-a99e5163b423 :: false

deleteSubnodes 1.154s
2021-09-30 22:28:14 |

2021-09-30 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:14 | ------------------------------------

2021-09-30 22:28:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node></data>

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

2021-09-30 22:28:15 | [Mutex] waiting for: [received:nodes:f151a2b0-74a4-4225-8bcd-2544b6729ece:localhost]

2021-09-30 22:28:15 | [Mutex] received everything.

2021-09-30 22:28:15 | [Mutex] isItemNotified: received:node:f151a2b0-74a4-4225-8bcd-2544b6729ece:localhost:node-1a6d9a0b-a896-4b00-a821-68006061509f:Node 1a6d9a0b-a896-4b00-a821-68006061509f :: false

2021-09-30 22:28:15 | [Mutex] waiting for: [received:nodes:d195f6e8-e895-48d1-8478-c3e3e7cebf11:localhost]

2021-09-30 22:28:15 | [Mutex] received everything.

2021-09-30 22:28:15 | [Mutex] isItemNotified: received:node:d195f6e8-e895-48d1-8478-c3e3e7cebf11:localhost:node-1a6d9a0b-a896-4b00-a821-68006061509f:Node 1a6d9a0b-a896-4b00-a821-68006061509f :: false

publishItemsToNodes 0.239s
2021-09-30 22:28:12 |

2021-09-30 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:12 | ------------------------------------

2021-09-30 22:28:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><item-id>item-b4353164-b0ce-4548-920e-61e21d710110</item-id><entry><test>item-b4353164-b0ce-4548-920e-61e21d710110</test></entry></data>

2021-09-30 22:28:12 | 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-b4353164-b0ce-4548-920e-61e21d710110</value></item-id></result>

2021-09-30 22:28:12 | [Mutex] waiting for: [published:item:notifieditem-b4353164-b0ce-4548-920e-61e21d710110:admin@test-domain.com]

2021-09-30 22:28:12 | [Mutex] received everything.

2021-09-30 22:28:12 | [Mutex] isItemNotified: published:item:notifieditem-b4353164-b0ce-4548-920e-61e21d710110:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2021-09-30 22:28:12 |

2021-09-30 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:12 | ------------------------------------

2021-09-30 22:28:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><item-id>item-b4353164-b0ce-4548-920e-61e21d710110</item-id></data>

2021-09-30 22:28:13 | 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-b4353164-b0ce-4548-920e-61e21d710110</value></item-id></result>

2021-09-30 22:28:13 | [Mutex] received everything.

2021-09-30 22:28:13 | [Mutex] isItemNotified: retracted:item:notifieditem-b4353164-b0ce-4548-920e-61e21d710110:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2021-09-30 22:28:12 |

2021-09-30 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:12 | ------------------------------------

2021-09-30 22:28:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><item-id>item-b4353164-b0ce-4548-920e-61e21d710110</item-id></data>

2021-09-30 22:28:12 | 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-1a6d9a0b-a896-4b00-a821-68006061509f</value></node><item-id type="text-single" label="Item ID"><value>item-b4353164-b0ce-4548-920e-61e21d710110</value></item-id><item type="text-multi" label="Item"><value><item id="item-b4353164-b0ce-4548-920e-61e21d710110"><test>item-b4353164-b0ce-4548-920e-61e21d710110</test></item></value></item></result>

2021-09-30 22:28:12 | [Mutex] notify: [retrieved:item:item-b4353164-b0ce-4548-920e-61e21d710110:payload-matches:true:localhost]

2021-09-30 22:28:12 | [Mutex] received everything.

2021-09-30 22:28:12 | [Mutex] isItemNotified: retrieved:item:item-b4353164-b0ce-4548-920e-61e21d710110:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-09-30 22:28:12 |

2021-09-30 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:12 | ------------------------------------

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

2021-09-30 22:28:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1a6d9a0b-a896-4b00-a821-68006061509f</value><value>test</value><value>node-8b9ec97d-b549-455b-915d-a99e5163b423</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-09-30 22:28:12 |

2021-09-30 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:12 | ------------------------------------

2021-09-30 22:28:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1a6d9a0b-a896-4b00-a821-68006061509f)</node-pattern></data>

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

subscribeNodes 1.137s
2021-09-30 22:28:10 |

2021-09-30 22:28:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:10 | ------------------------------------

2021-09-30 22:28:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.271s
2021-09-30 22:28:13 |

2021-09-30 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:28:13 | ------------------------------------

2021-09-30 22:28:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1a6d9a0b-a896-4b00-a821-68006061509f</node><jids><value>admin@test-domain.com</value></jids></data>

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