Generated by TestNG with ReportNG at 05:51 PDT on Monday 24 October 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.686s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-10-24 06:13:10 |

2022-10-24 06:13:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:10 | ------------------------------------

2022-10-24 06:13:10 | [Mutex] waiting for: [configured:node:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:node-6de6b994-f203-4bd0-ac24-895978079e05]

2022-10-24 06:13:10 | [Mutex] received everything.

2022-10-24 06:13:10 | [Mutex] isItemNotified: configured:node:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:node-6de6b994-f203-4bd0-ac24-895978079e05 :: true

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:83c0813b-8913-486f-aca9-0770f8d2f8ce:localhost]

2022-10-24 06:13:11 | [Mutex] received everything.

2022-10-24 06:13:11 | [Mutex] isItemNotified: received:node:83c0813b-8913-486f-aca9-0770f8d2f8ce:localhost:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:Node e2436f0f-00af-471b-be87-d1bbc5fbca10 :: true

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:e500c0ef-707f-4605-bab0-2041aebdf537:localhost]

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:e500c0ef-707f-4605-bab0-2041aebdf537:localhost]

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:e500c0ef-707f-4605-bab0-2041aebdf537:localhost]

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:e500c0ef-707f-4605-bab0-2041aebdf537:localhost]

2022-10-24 06:13:11 | [Mutex] waiting for: [received:nodes:e500c0ef-707f-4605-bab0-2041aebdf537:localhost]

2022-10-24 06:13:11 | [Mutex] received everything.

2022-10-24 06:13:11 | [Mutex] isItemNotified: received:node:e500c0ef-707f-4605-bab0-2041aebdf537:localhost:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:Node e2436f0f-00af-471b-be87-d1bbc5fbca10 :: false

createNodes 1.500s
2022-10-24 06:13:07 |

2022-10-24 06:13:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:07 | ------------------------------------

2022-10-24 06:13:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e2436f0f-00af-471b-be87-d1bbc5fbca10</title></pubsub></data>

2022-10-24 06:13:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:13:09 | [Mutex] waiting for: [received:nodes:9b4c15df-781d-4bf5-ad9d-f8279794725f:localhost]

2022-10-24 06:13:09 | [Mutex] received everything.

2022-10-24 06:13:09 | [Mutex] isItemNotified: received:node:9b4c15df-781d-4bf5-ad9d-f8279794725f:localhost:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:Node e2436f0f-00af-471b-be87-d1bbc5fbca10 :: true

createSubnodes 1.023s
2022-10-24 06:13:09 |

2022-10-24 06:13:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:09 | ------------------------------------

2022-10-24 06:13:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6de6b994-f203-4bd0-ac24-895978079e05</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6de6b994-f203-4bd0-ac24-895978079e05</title></pubsub></data>

2022-10-24 06:13:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:13:10 | [Mutex] waiting for: [received:nodes:20655ff1-128d-40d8-bf99-65de9cdc6438:localhost]

2022-10-24 06:13:10 | [Mutex] received everything.

2022-10-24 06:13:10 | [Mutex] isItemNotified: received:node:20655ff1-128d-40d8-bf99-65de9cdc6438:localhost:node-6de6b994-f203-4bd0-ac24-895978079e05:Node 6de6b994-f203-4bd0-ac24-895978079e05 :: true

deleteNodes 1.019s
2022-10-24 06:13:15 |

2022-10-24 06:13:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:15 | ------------------------------------

2022-10-24 06:13:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6de6b994-f203-4bd0-ac24-895978079e05</node></data>

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

2022-10-24 06:13:16 | [Mutex] waiting for: [received:nodes:93c178c8-87f7-4bc0-a585-3607e92d6fb4:localhost]

2022-10-24 06:13:16 | [Mutex] received everything.

2022-10-24 06:13:16 | [Mutex] isItemNotified: received:node:93c178c8-87f7-4bc0-a585-3607e92d6fb4:localhost:node-6de6b994-f203-4bd0-ac24-895978079e05:Node 6de6b994-f203-4bd0-ac24-895978079e05 :: false

deleteSubnodes 1.139s
2022-10-24 06:13:14 |

2022-10-24 06:13:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:14 | ------------------------------------

2022-10-24 06:13:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node></data>

2022-10-24 06:13:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-24 06:13:15 | [Mutex] waiting for: [received:nodes:46205c11-4449-42cf-8a55-38d83ccf9358:localhost]

2022-10-24 06:13:15 | [Mutex] waiting for: [received:nodes:46205c11-4449-42cf-8a55-38d83ccf9358:localhost]

2022-10-24 06:13:15 | [Mutex] waiting for: [received:nodes:46205c11-4449-42cf-8a55-38d83ccf9358:localhost]

2022-10-24 06:13:15 | [Mutex] waiting for: [received:nodes:46205c11-4449-42cf-8a55-38d83ccf9358:localhost]

2022-10-24 06:13:15 | [Mutex] received everything.

2022-10-24 06:13:15 | [Mutex] isItemNotified: received:node:46205c11-4449-42cf-8a55-38d83ccf9358:localhost:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:Node e2436f0f-00af-471b-be87-d1bbc5fbca10 :: false

2022-10-24 06:13:15 | [Mutex] waiting for: [received:nodes:5f0735cd-7127-4542-ae23-394f9dfb501a:localhost]

2022-10-24 06:13:15 | [Mutex] received everything.

2022-10-24 06:13:15 | [Mutex] isItemNotified: received:node:5f0735cd-7127-4542-ae23-394f9dfb501a:localhost:node-e2436f0f-00af-471b-be87-d1bbc5fbca10:Node e2436f0f-00af-471b-be87-d1bbc5fbca10 :: false

publishItemsToNodes 0.234s
2022-10-24 06:13:12 |

2022-10-24 06:13:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:12 | ------------------------------------

2022-10-24 06:13:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><item-id>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</item-id><entry><test>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</test></entry></data>

2022-10-24 06:13:12 | 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-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</value></item-id></result>

2022-10-24 06:13:12 | [Mutex] received everything.

2022-10-24 06:13:12 | [Mutex] isItemNotified: published:item:notifieditem-bd063603-1e7e-4163-b6f1-79e79bc1f8ef:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2022-10-24 06:13:13 |

2022-10-24 06:13:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:13 | ------------------------------------

2022-10-24 06:13:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><item-id>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</item-id></data>

2022-10-24 06:13:13 | 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-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</value></item-id></result>

2022-10-24 06:13:13 | [Mutex] received everything.

2022-10-24 06:13:13 | [Mutex] isItemNotified: retracted:item:notifieditem-bd063603-1e7e-4163-b6f1-79e79bc1f8ef:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2022-10-24 06:13:12 |

2022-10-24 06:13:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:12 | ------------------------------------

2022-10-24 06:13:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><item-id>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</item-id></data>

2022-10-24 06:13:12 | 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-e2436f0f-00af-471b-be87-d1bbc5fbca10</value></node><item-id label="Item ID" type="text-single"><value>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</value></item-id><item label="Item" type="text-multi"><value><item id="item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef"><test>item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef</test></item></value></item></result>

2022-10-24 06:13:12 | [Mutex] notify: [retrieved:item:item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef:payload-matches:true:localhost]

2022-10-24 06:13:12 | [Mutex] received everything.

2022-10-24 06:13:12 | [Mutex] isItemNotified: retrieved:item:item-bd063603-1e7e-4163-b6f1-79e79bc1f8ef:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-24 06:13:12 |

2022-10-24 06:13:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:12 | ------------------------------------

2022-10-24 06:13:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-24 06:13:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</value><value>node-6de6b994-f203-4bd0-ac24-895978079e05</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-24 06:13:12 |

2022-10-24 06:13:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:12 | ------------------------------------

2022-10-24 06:13: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-e2436f0f-00af-471b-be87-d1bbc5fbca10)</node-pattern></data>

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

subscribeNodes 1.144s
2022-10-24 06:13:11 |

2022-10-24 06:13:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:11 | ------------------------------------

2022-10-24 06:13:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-24 06:13: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.175s
2022-10-24 06:13:13 |

2022-10-24 06:13:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-24 06:13:13 | ------------------------------------

2022-10-24 06:13:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e2436f0f-00af-471b-be87-d1bbc5fbca10</node><jids><value>admin@test-domain.com</value></jids></data>

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