Generated by TestNG with ReportNG at 22:19 PDT on Thursday 25 August 2022
root@f9c07ffec79b / 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.669s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-08-25 22:34:04 |

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

2022-08-25 22:34:04 | ------------------------------------

2022-08-25 22:34:04 | [Mutex] waiting for: [configured:node:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:node-212fa110-da99-44ba-afca-19782114a5af]

2022-08-25 22:34:04 | [Mutex] received everything.

2022-08-25 22:34:04 | [Mutex] isItemNotified: configured:node:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:node-212fa110-da99-44ba-afca-19782114a5af :: true

2022-08-25 22:34:05 | [Mutex] waiting for: [received:nodes:51339314-6ef3-4bd1-b403-4da2ce32c6ae:localhost]

2022-08-25 22:34:05 | [Mutex] received everything.

2022-08-25 22:34:05 | [Mutex] isItemNotified: received:node:51339314-6ef3-4bd1-b403-4da2ce32c6ae:localhost:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:Node fd393c5d-c77c-4c7a-bf80-d469706df3e4 :: true

2022-08-25 22:34:05 | [Mutex] waiting for: [received:nodes:064b81bf-14b9-4311-badb-59e6514f3e93:localhost]

2022-08-25 22:34:05 | [Mutex] waiting for: [received:nodes:064b81bf-14b9-4311-badb-59e6514f3e93:localhost]

2022-08-25 22:34:05 | [Mutex] waiting for: [received:nodes:064b81bf-14b9-4311-badb-59e6514f3e93:localhost]

2022-08-25 22:34:05 | [Mutex] received everything.

2022-08-25 22:34:05 | [Mutex] isItemNotified: received:node:064b81bf-14b9-4311-badb-59e6514f3e93:localhost:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:Node fd393c5d-c77c-4c7a-bf80-d469706df3e4 :: false

createNodes 1.560s
2022-08-25 22:34:01 |

2022-08-25 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-25 22:34:01 | ------------------------------------

2022-08-25 22:34:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fd393c5d-c77c-4c7a-bf80-d469706df3e4</title></pubsub></data>

2022-08-25 22:34: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-25 22:34:03 | [Mutex] waiting for: [received:nodes:193280dd-4f65-477f-84c4-026c95e0a1c7:localhost]

2022-08-25 22:34:03 | [Mutex] received everything.

2022-08-25 22:34:03 | [Mutex] isItemNotified: received:node:193280dd-4f65-477f-84c4-026c95e0a1c7:localhost:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:Node fd393c5d-c77c-4c7a-bf80-d469706df3e4 :: true

createSubnodes 1.023s
2022-08-25 22:34:03 |

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

2022-08-25 22:34:03 | ------------------------------------

2022-08-25 22:34:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-212fa110-da99-44ba-afca-19782114a5af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 212fa110-da99-44ba-afca-19782114a5af</title></pubsub></data>

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

2022-08-25 22:34:04 | [Mutex] waiting for: [received:nodes:e16c8e0a-2845-4ff4-bc84-ccd66ed0c63a:localhost]

2022-08-25 22:34:04 | [Mutex] received everything.

2022-08-25 22:34:04 | [Mutex] isItemNotified: received:node:e16c8e0a-2845-4ff4-bc84-ccd66ed0c63a:localhost:node-212fa110-da99-44ba-afca-19782114a5af:Node 212fa110-da99-44ba-afca-19782114a5af :: true

deleteNodes 1.016s
2022-08-25 22:34:09 |

2022-08-25 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-25 22:34:09 | ------------------------------------

2022-08-25 22:34:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-212fa110-da99-44ba-afca-19782114a5af</node></data>

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

2022-08-25 22:34:10 | [Mutex] waiting for: [received:nodes:c695f3cb-6498-4c4e-8b6e-a5db37846e9b:localhost]

2022-08-25 22:34:10 | [Mutex] waiting for: [received:nodes:c695f3cb-6498-4c4e-8b6e-a5db37846e9b:localhost]

2022-08-25 22:34:10 | [Mutex] received everything.

2022-08-25 22:34:10 | [Mutex] isItemNotified: received:node:c695f3cb-6498-4c4e-8b6e-a5db37846e9b:localhost:node-212fa110-da99-44ba-afca-19782114a5af:Node 212fa110-da99-44ba-afca-19782114a5af :: false

deleteSubnodes 1.118s
2022-08-25 22:34:08 |

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

2022-08-25 22:34:08 | ------------------------------------

2022-08-25 22:34:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node></data>

2022-08-25 22:34: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-25 22:34:09 | [Mutex] waiting for: [received:nodes:bc01e1ec-8f14-4e4a-8392-d193a3169d89:localhost]

2022-08-25 22:34:09 | [Mutex] waiting for: [received:nodes:bc01e1ec-8f14-4e4a-8392-d193a3169d89:localhost]

2022-08-25 22:34:09 | [Mutex] received everything.

2022-08-25 22:34:09 | [Mutex] isItemNotified: received:node:bc01e1ec-8f14-4e4a-8392-d193a3169d89:localhost:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:Node fd393c5d-c77c-4c7a-bf80-d469706df3e4 :: false

2022-08-25 22:34:09 | [Mutex] waiting for: [received:nodes:e5415855-d8fc-40a3-941a-616d3ebeb40b:localhost]

2022-08-25 22:34:09 | [Mutex] received everything.

2022-08-25 22:34:09 | [Mutex] isItemNotified: received:node:e5415855-d8fc-40a3-941a-616d3ebeb40b:localhost:node-fd393c5d-c77c-4c7a-bf80-d469706df3e4:Node fd393c5d-c77c-4c7a-bf80-d469706df3e4 :: false

publishItemsToNodes 0.255s
2022-08-25 22:34:06 |

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

2022-08-25 22:34:06 | ------------------------------------

2022-08-25 22:34:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><item-id>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</item-id><entry><test>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</test></entry></data>

2022-08-25 22:34:06 | 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-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</value></item-id></result>

2022-08-25 22:34:06 | [Mutex] received everything.

2022-08-25 22:34:06 | [Mutex] isItemNotified: published:item:notifieditem-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70:admin@test-domain.com :: true

retractItemsFromNodes 0.273s
2022-08-25 22:34:07 |

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

2022-08-25 22:34:07 | ------------------------------------

2022-08-25 22:34:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><item-id>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</item-id></data>

2022-08-25 22:34:07 | 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-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</value></item-id></result>

2022-08-25 22:34:07 | [Mutex] waiting for: [retracted:item:notifieditem-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70:admin@test-domain.com]

2022-08-25 22:34:07 | [Mutex] received everything.

2022-08-25 22:34:07 | [Mutex] isItemNotified: retracted:item:notifieditem-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2022-08-25 22:34:06 |

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

2022-08-25 22:34:06 | ------------------------------------

2022-08-25 22:34:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><item-id>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</item-id></data>

2022-08-25 22:34: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-fd393c5d-c77c-4c7a-bf80-d469706df3e4</value></node><item-id type="text-single" label="Item ID"><value>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</value></item-id><item type="text-multi" label="Item"><value><item id="item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70"><test>item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70</test></item></value></item></result>

2022-08-25 22:34:06 | [Mutex] notify: [retrieved:item:item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70:payload-matches:true:localhost]

2022-08-25 22:34:06 | [Mutex] received everything.

2022-08-25 22:34:06 | [Mutex] isItemNotified: retrieved:item:item-7e2f47a5-6dd9-4b02-8aa2-1dcebede6c70:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-25 22:34:06 |

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

2022-08-25 22:34:06 | ------------------------------------

2022-08-25 22:34: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-25 22:34:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-212fa110-da99-44ba-afca-19782114a5af</value><value>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-25 22:34:06 |

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

2022-08-25 22:34:06 | ------------------------------------

2022-08-25 22:34: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-fd393c5d-c77c-4c7a-bf80-d469706df3e4)</node-pattern></data>

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

subscribeNodes 1.108s
2022-08-25 22:34:05 |

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

2022-08-25 22:34:05 | ------------------------------------

2022-08-25 22:34:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.217s
2022-08-25 22:34:07 |

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

2022-08-25 22:34:07 | ------------------------------------

2022-08-25 22:34:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fd393c5d-c77c-4c7a-bf80-d469706df3e4</node><jids><value>admin@test-domain.com</value></jids></data>

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