Generated by TestNG with ReportNG at 22:19 PDT on Monday 15 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.448s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-08-15 22:33:03 |

2022-08-15 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:03 | ------------------------------------

2022-08-15 22:33:03 | [Mutex] waiting for: [configured:node:node-b80c771c-2364-4616-bae0-077451a5b4f6:node-d1ea47d2-192d-4495-a61b-aedcca36b015]

2022-08-15 22:33:03 | [Mutex] received everything.

2022-08-15 22:33:03 | [Mutex] isItemNotified: configured:node:node-b80c771c-2364-4616-bae0-077451a5b4f6:node-d1ea47d2-192d-4495-a61b-aedcca36b015 :: true

2022-08-15 22:33:04 | [Mutex] waiting for: [received:nodes:13cd9730-2073-4bfa-abaf-ec048b295b27:localhost]

2022-08-15 22:33:04 | [Mutex] received everything.

2022-08-15 22:33:04 | [Mutex] isItemNotified: received:node:13cd9730-2073-4bfa-abaf-ec048b295b27:localhost:node-b80c771c-2364-4616-bae0-077451a5b4f6:Node b80c771c-2364-4616-bae0-077451a5b4f6 :: true

2022-08-15 22:33:04 | [Mutex] waiting for: [received:nodes:cc8a6580-c3bd-41cc-89d2-d25e068ca353:localhost]

2022-08-15 22:33:04 | [Mutex] received everything.

2022-08-15 22:33:04 | [Mutex] isItemNotified: received:node:cc8a6580-c3bd-41cc-89d2-d25e068ca353:localhost:node-b80c771c-2364-4616-bae0-077451a5b4f6:Node b80c771c-2364-4616-bae0-077451a5b4f6 :: false

createNodes 1.537s
2022-08-15 22:33:00 |

2022-08-15 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:00 | ------------------------------------

2022-08-15 22:33:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b80c771c-2364-4616-bae0-077451a5b4f6</title></pubsub></data>

2022-08-15 22:33:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-15 22:33:02 | [Mutex] waiting for: [received:nodes:1ae974e1-b1f5-4918-8cad-6a2adb1326f4:localhost]

2022-08-15 22:33:02 | [Mutex] received everything.

2022-08-15 22:33:02 | [Mutex] isItemNotified: received:node:1ae974e1-b1f5-4918-8cad-6a2adb1326f4:localhost:node-b80c771c-2364-4616-bae0-077451a5b4f6:Node b80c771c-2364-4616-bae0-077451a5b4f6 :: true

createSubnodes 1.024s
2022-08-15 22:33:02 |

2022-08-15 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:02 | ------------------------------------

2022-08-15 22:33:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1ea47d2-192d-4495-a61b-aedcca36b015</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d1ea47d2-192d-4495-a61b-aedcca36b015</title></pubsub></data>

2022-08-15 22:33:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-15 22:33:03 | [Mutex] waiting for: [received:nodes:00a01edd-3c93-433e-90fe-d92b214d7d35:localhost]

2022-08-15 22:33:03 | [Mutex] received everything.

2022-08-15 22:33:03 | [Mutex] isItemNotified: received:node:00a01edd-3c93-433e-90fe-d92b214d7d35:localhost:node-d1ea47d2-192d-4495-a61b-aedcca36b015:Node d1ea47d2-192d-4495-a61b-aedcca36b015 :: true

deleteNodes 1.059s
2022-08-15 22:33:08 |

2022-08-15 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:08 | ------------------------------------

2022-08-15 22:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1ea47d2-192d-4495-a61b-aedcca36b015</node></data>

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

2022-08-15 22:33:09 | [Mutex] waiting for: [received:nodes:c44ea080-c9f7-45fb-90bd-568126ab24ab:localhost]

2022-08-15 22:33:09 | [Mutex] received everything.

2022-08-15 22:33:09 | [Mutex] isItemNotified: received:node:c44ea080-c9f7-45fb-90bd-568126ab24ab:localhost:node-d1ea47d2-192d-4495-a61b-aedcca36b015:Node d1ea47d2-192d-4495-a61b-aedcca36b015 :: false

deleteSubnodes 1.108s
2022-08-15 22:33:07 |

2022-08-15 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:07 | ------------------------------------

2022-08-15 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node></data>

2022-08-15 22:33:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-15 22:33:08 | [Mutex] waiting for: [received:nodes:38c13005-197a-48d6-ad56-b86f19117160:localhost]

2022-08-15 22:33:08 | [Mutex] waiting for: [received:nodes:38c13005-197a-48d6-ad56-b86f19117160:localhost]

2022-08-15 22:33:08 | [Mutex] received everything.

2022-08-15 22:33:08 | [Mutex] isItemNotified: received:node:38c13005-197a-48d6-ad56-b86f19117160:localhost:node-b80c771c-2364-4616-bae0-077451a5b4f6:Node b80c771c-2364-4616-bae0-077451a5b4f6 :: false

2022-08-15 22:33:08 | [Mutex] waiting for: [received:nodes:5f9d0169-f207-4cb6-918f-a816b7adaff1:localhost]

2022-08-15 22:33:08 | [Mutex] received everything.

2022-08-15 22:33:08 | [Mutex] isItemNotified: received:node:5f9d0169-f207-4cb6-918f-a816b7adaff1:localhost:node-b80c771c-2364-4616-bae0-077451a5b4f6:Node b80c771c-2364-4616-bae0-077451a5b4f6 :: false

publishItemsToNodes 0.223s
2022-08-15 22:33:05 |

2022-08-15 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:05 | ------------------------------------

2022-08-15 22:33:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><item-id>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</item-id><entry><test>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</test></entry></data>

2022-08-15 22:33:05 | 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-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</value></item-id></result>

2022-08-15 22:33:05 | [Mutex] waiting for: [published:item:notifieditem-9c8ac273-c799-4f52-8ba7-01e5a5c6e321:admin@test-domain.com]

2022-08-15 22:33:05 | [Mutex] received everything.

2022-08-15 22:33:05 | [Mutex] isItemNotified: published:item:notifieditem-9c8ac273-c799-4f52-8ba7-01e5a5c6e321:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2022-08-15 22:33:06 |

2022-08-15 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:06 | ------------------------------------

2022-08-15 22:33:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><item-id>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</item-id></data>

2022-08-15 22:33:06 | 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-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</value></item-id></result>

2022-08-15 22:33:06 | [Mutex] received everything.

2022-08-15 22:33:06 | [Mutex] isItemNotified: retracted:item:notifieditem-9c8ac273-c799-4f52-8ba7-01e5a5c6e321:admin@test-domain.com :: true

retrieveItemsFromNodes 0.182s
2022-08-15 22:33:05 |

2022-08-15 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:05 | ------------------------------------

2022-08-15 22:33:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><item-id>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</item-id></data>

2022-08-15 22:33:06 | 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-b80c771c-2364-4616-bae0-077451a5b4f6</value></node><item-id type="text-single" label="Item ID"><value>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321"><test>item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321</test></item></value></item></result>

2022-08-15 22:33:06 | [Mutex] notify: [retrieved:item:item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321:payload-matches:true:localhost]

2022-08-15 22:33:06 | [Mutex] received everything.

2022-08-15 22:33:06 | [Mutex] isItemNotified: retrieved:item:item-9c8ac273-c799-4f52-8ba7-01e5a5c6e321:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-15 22:33:06 |

2022-08-15 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:06 | ------------------------------------

2022-08-15 22:33:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-15 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d1ea47d2-192d-4495-a61b-aedcca36b015</value><value>node-b80c771c-2364-4616-bae0-077451a5b4f6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-15 22:33:06 |

2022-08-15 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:06 | ------------------------------------

2022-08-15 22:33:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b80c771c-2364-4616-bae0-077451a5b4f6)</node-pattern></data>

2022-08-15 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.125s
2022-08-15 22:33:04 |

2022-08-15 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:04 | ------------------------------------

2022-08-15 22:33:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-15 22:33:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2022-08-15 22:33:06 |

2022-08-15 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:06 | ------------------------------------

2022-08-15 22:33:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b80c771c-2364-4616-bae0-077451a5b4f6</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-15 22:33:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>