Generated by TestNG with ReportNG at 22:47 PDT on Friday 12 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.302s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-08-12 23:10:52 |

2022-08-12 23:10:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:52 | ------------------------------------

2022-08-12 23:10:52 | [Mutex] waiting for: [configured:node:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:node-499c3e3a-45d4-4439-8d66-84115198f6df]

2022-08-12 23:10:52 | [Mutex] received everything.

2022-08-12 23:10:52 | [Mutex] isItemNotified: configured:node:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:node-499c3e3a-45d4-4439-8d66-84115198f6df :: true

2022-08-12 23:10:53 | [Mutex] waiting for: [received:nodes:7740031c-fd68-4f58-a9e8-b51588dcc20c:localhost]

2022-08-12 23:10:53 | [Mutex] received everything.

2022-08-12 23:10:53 | [Mutex] isItemNotified: received:node:7740031c-fd68-4f58-a9e8-b51588dcc20c:localhost:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af :: true

2022-08-12 23:10:53 | [Mutex] waiting for: [received:nodes:ce99830e-2615-4058-a050-07808d4a9ee4:localhost]

2022-08-12 23:10:53 | [Mutex] waiting for: [received:nodes:ce99830e-2615-4058-a050-07808d4a9ee4:localhost]

2022-08-12 23:10:53 | [Mutex] waiting for: [received:nodes:ce99830e-2615-4058-a050-07808d4a9ee4:localhost]

2022-08-12 23:10:53 | [Mutex] waiting for: [received:nodes:ce99830e-2615-4058-a050-07808d4a9ee4:localhost]

2022-08-12 23:10:53 | [Mutex] received everything.

2022-08-12 23:10:53 | [Mutex] isItemNotified: received:node:ce99830e-2615-4058-a050-07808d4a9ee4:localhost:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af :: false

createNodes 1.390s
2022-08-12 23:10:49 |

2022-08-12 23:10:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:49 | ------------------------------------

2022-08-12 23:10:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af</title></pubsub></data>

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

2022-08-12 23:10:51 | [Mutex] waiting for: [received:nodes:02861d2f-7633-4085-84b4-56dec509384f:localhost]

2022-08-12 23:10:51 | [Mutex] received everything.

2022-08-12 23:10:51 | [Mutex] isItemNotified: received:node:02861d2f-7633-4085-84b4-56dec509384f:localhost:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af :: true

createSubnodes 1.021s
2022-08-12 23:10:51 |

2022-08-12 23:10:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:51 | ------------------------------------

2022-08-12 23:10:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-499c3e3a-45d4-4439-8d66-84115198f6df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 499c3e3a-45d4-4439-8d66-84115198f6df</title></pubsub></data>

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

2022-08-12 23:10:52 | [Mutex] waiting for: [received:nodes:d1bbf8ec-2895-4e29-b4a8-c5e0bff03632:localhost]

2022-08-12 23:10:52 | [Mutex] waiting for: [received:nodes:d1bbf8ec-2895-4e29-b4a8-c5e0bff03632:localhost]

2022-08-12 23:10:52 | [Mutex] waiting for: [received:nodes:d1bbf8ec-2895-4e29-b4a8-c5e0bff03632:localhost]

2022-08-12 23:10:52 | [Mutex] received everything.

2022-08-12 23:10:52 | [Mutex] isItemNotified: received:node:d1bbf8ec-2895-4e29-b4a8-c5e0bff03632:localhost:node-499c3e3a-45d4-4439-8d66-84115198f6df:Node 499c3e3a-45d4-4439-8d66-84115198f6df :: true

deleteNodes 1.020s
2022-08-12 23:10:57 |

2022-08-12 23:10:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:57 | ------------------------------------

2022-08-12 23:10:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-499c3e3a-45d4-4439-8d66-84115198f6df</node></data>

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

2022-08-12 23:10:58 | [Mutex] waiting for: [received:nodes:878ce9bb-19c4-489a-b447-3aba89436ef8:localhost]

2022-08-12 23:10:58 | [Mutex] received everything.

2022-08-12 23:10:58 | [Mutex] isItemNotified: received:node:878ce9bb-19c4-489a-b447-3aba89436ef8:localhost:node-499c3e3a-45d4-4439-8d66-84115198f6df:Node 499c3e3a-45d4-4439-8d66-84115198f6df :: false

deleteSubnodes 1.130s
2022-08-12 23:10:56 |

2022-08-12 23:10:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:56 | ------------------------------------

2022-08-12 23:10:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node></data>

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

2022-08-12 23:10:57 | [Mutex] waiting for: [received:nodes:e4f4bc11-bba1-4e47-85a7-a221dee70b32:localhost]

2022-08-12 23:10:57 | [Mutex] received everything.

2022-08-12 23:10:57 | [Mutex] isItemNotified: received:node:e4f4bc11-bba1-4e47-85a7-a221dee70b32:localhost:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af :: false

2022-08-12 23:10:57 | [Mutex] waiting for: [received:nodes:e0afad3a-afef-4cb1-bbe0-367b454d307d:localhost]

2022-08-12 23:10:57 | [Mutex] received everything.

2022-08-12 23:10:57 | [Mutex] isItemNotified: received:node:e0afad3a-afef-4cb1-bbe0-367b454d307d:localhost:node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af:Node ebc048ee-ade7-4edf-8e15-fbdd3fe566af :: false

publishItemsToNodes 0.253s
2022-08-12 23:10:54 |

2022-08-12 23:10:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:54 | ------------------------------------

2022-08-12 23:10:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><item-id>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</item-id><entry><test>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</test></entry></data>

2022-08-12 23:10:54 | 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-92c77c28-edef-49dd-9f0f-c9794b0a96c6</value></item-id></result>

2022-08-12 23:10:54 | [Mutex] waiting for: [published:item:notifieditem-92c77c28-edef-49dd-9f0f-c9794b0a96c6:admin@test-domain.com]

2022-08-12 23:10:54 | [Mutex] received everything.

2022-08-12 23:10:54 | [Mutex] isItemNotified: published:item:notifieditem-92c77c28-edef-49dd-9f0f-c9794b0a96c6:admin@test-domain.com :: true

retractItemsFromNodes 0.184s
2022-08-12 23:10:55 |

2022-08-12 23:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:55 | ------------------------------------

2022-08-12 23:10:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><item-id>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</item-id></data>

2022-08-12 23:10:55 | 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-92c77c28-edef-49dd-9f0f-c9794b0a96c6</value></item-id></result>

2022-08-12 23:10:55 | [Mutex] waiting for: [retracted:item:notifieditem-92c77c28-edef-49dd-9f0f-c9794b0a96c6:admin@test-domain.com]

2022-08-12 23:10:55 | [Mutex] received everything.

2022-08-12 23:10:55 | [Mutex] isItemNotified: retracted:item:notifieditem-92c77c28-edef-49dd-9f0f-c9794b0a96c6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2022-08-12 23:10:54 |

2022-08-12 23:10:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:54 | ------------------------------------

2022-08-12 23:10:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><item-id>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</item-id></data>

2022-08-12 23:10:55 | 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-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</value></node><item-id type="text-single" label="Item ID"><value>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</value></item-id><item type="text-multi" label="Item"><value><item id="item-92c77c28-edef-49dd-9f0f-c9794b0a96c6"><test>item-92c77c28-edef-49dd-9f0f-c9794b0a96c6</test></item></value></item></result>

2022-08-12 23:10:55 | [Mutex] notify: [retrieved:item:item-92c77c28-edef-49dd-9f0f-c9794b0a96c6:payload-matches:true:localhost]

2022-08-12 23:10:55 | [Mutex] received everything.

2022-08-12 23:10:55 | [Mutex] isItemNotified: retrieved:item:item-92c77c28-edef-49dd-9f0f-c9794b0a96c6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-08-12 23:10:55 |

2022-08-12 23:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:55 | ------------------------------------

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

2022-08-12 23:10:55 | 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-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</value><value>node-499c3e3a-45d4-4439-8d66-84115198f6df</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-12 23:10:55 |

2022-08-12 23:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:55 | ------------------------------------

2022-08-12 23:10:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af)</node-pattern></data>

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

subscribeNodes 1.121s
2022-08-12 23:10:53 |

2022-08-12 23:10:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:53 | ------------------------------------

2022-08-12 23:10:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-12 23:10:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.166s
2022-08-12 23:10:55 |

2022-08-12 23:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-12 23:10:55 | ------------------------------------

2022-08-12 23:10:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ebc048ee-ade7-4edf-8e15-fbdd3fe566af</node><jids><value>admin@test-domain.com</value></jids></data>

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