Generated by TestNG with ReportNG at 22:52 PDT on Monday 01 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.406s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-08-01 23:07:00 |

2022-08-01 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:00 | ------------------------------------

2022-08-01 23:07:00 | [Mutex] waiting for: [configured:node:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf]

2022-08-01 23:07:00 | [Mutex] received everything.

2022-08-01 23:07:00 | [Mutex] isItemNotified: configured:node:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf :: true

2022-08-01 23:07:01 | [Mutex] waiting for: [received:nodes:5e74b94b-90c4-4b02-84ab-06a0b0320695:localhost]

2022-08-01 23:07:01 | [Mutex] received everything.

2022-08-01 23:07:01 | [Mutex] isItemNotified: received:node:5e74b94b-90c4-4b02-84ab-06a0b0320695:localhost:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8 :: true

2022-08-01 23:07:01 | [Mutex] waiting for: [received:nodes:142040a9-a0a5-4413-9016-22616fd90085:localhost]

2022-08-01 23:07:01 | [Mutex] received everything.

2022-08-01 23:07:01 | [Mutex] isItemNotified: received:node:142040a9-a0a5-4413-9016-22616fd90085:localhost:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8 :: false

createNodes 1.503s
2022-08-01 23:06:57 |

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

2022-08-01 23:06:57 | ------------------------------------

2022-08-01 23:06:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</title></pubsub></data>

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

2022-08-01 23:06:59 | [Mutex] waiting for: [received:nodes:22146558-15ab-4275-813e-22d5d34ab2f3:localhost]

2022-08-01 23:06:59 | [Mutex] waiting for: [received:nodes:22146558-15ab-4275-813e-22d5d34ab2f3:localhost]

2022-08-01 23:06:59 | [Mutex] waiting for: [received:nodes:22146558-15ab-4275-813e-22d5d34ab2f3:localhost]

2022-08-01 23:06:59 | [Mutex] received everything.

2022-08-01 23:06:59 | [Mutex] isItemNotified: received:node:22146558-15ab-4275-813e-22d5d34ab2f3:localhost:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8 :: true

createSubnodes 1.025s
2022-08-01 23:06:59 |

2022-08-01 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:06:59 | ------------------------------------

2022-08-01 23:06:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9ca40d5-bb09-40bb-9412-464d6c5f0acf</title></pubsub></data>

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

2022-08-01 23:07:00 | [Mutex] waiting for: [received:nodes:06fa37db-9518-4626-8c7c-aa97c8955edc:localhost]

2022-08-01 23:07:00 | [Mutex] received everything.

2022-08-01 23:07:00 | [Mutex] isItemNotified: received:node:06fa37db-9518-4626-8c7c-aa97c8955edc:localhost:node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf:Node c9ca40d5-bb09-40bb-9412-464d6c5f0acf :: true

deleteNodes 1.027s
2022-08-01 23:07:05 |

2022-08-01 23:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:05 | ------------------------------------

2022-08-01 23:07:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf</node></data>

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

2022-08-01 23:07:06 | [Mutex] waiting for: [received:nodes:94571eec-2742-44d9-b77f-f9e44811aae3:localhost]

2022-08-01 23:07:06 | [Mutex] received everything.

2022-08-01 23:07:06 | [Mutex] isItemNotified: received:node:94571eec-2742-44d9-b77f-f9e44811aae3:localhost:node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf:Node c9ca40d5-bb09-40bb-9412-464d6c5f0acf :: false

deleteSubnodes 1.134s
2022-08-01 23:07:04 |

2022-08-01 23:07:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:04 | ------------------------------------

2022-08-01 23:07:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node></data>

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

2022-08-01 23:07:05 | [Mutex] waiting for: [received:nodes:c78898a6-aad3-4d01-b74c-c4af35e79e0d:localhost]

2022-08-01 23:07:05 | [Mutex] waiting for: [received:nodes:c78898a6-aad3-4d01-b74c-c4af35e79e0d:localhost]

2022-08-01 23:07:05 | [Mutex] received everything.

2022-08-01 23:07:05 | [Mutex] isItemNotified: received:node:c78898a6-aad3-4d01-b74c-c4af35e79e0d:localhost:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8 :: false

2022-08-01 23:07:05 | [Mutex] waiting for: [received:nodes:25c2e167-9efe-430b-9142-48b1794928f4:localhost]

2022-08-01 23:07:05 | [Mutex] received everything.

2022-08-01 23:07:05 | [Mutex] isItemNotified: received:node:25c2e167-9efe-430b-9142-48b1794928f4:localhost:node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8:Node ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8 :: false

publishItemsToNodes 0.178s
2022-08-01 23:07:02 |

2022-08-01 23:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:02 | ------------------------------------

2022-08-01 23:07:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><item-id>item-e2401c89-e247-4355-b23e-82478d003bab</item-id><entry><test>item-e2401c89-e247-4355-b23e-82478d003bab</test></entry></data>

2022-08-01 23:07:02 | 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-e2401c89-e247-4355-b23e-82478d003bab</value></item-id></result>

2022-08-01 23:07:02 | [Mutex] received everything.

2022-08-01 23:07:02 | [Mutex] isItemNotified: published:item:notifieditem-e2401c89-e247-4355-b23e-82478d003bab:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-08-01 23:07:03 |

2022-08-01 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:03 | ------------------------------------

2022-08-01 23:07:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><item-id>item-e2401c89-e247-4355-b23e-82478d003bab</item-id></data>

2022-08-01 23:07:03 | 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-e2401c89-e247-4355-b23e-82478d003bab</value></item-id></result>

2022-08-01 23:07:03 | [Mutex] received everything.

2022-08-01 23:07:03 | [Mutex] isItemNotified: retracted:item:notifieditem-e2401c89-e247-4355-b23e-82478d003bab:admin@test-domain.com :: true

retrieveItemsFromNodes 0.226s
2022-08-01 23:07:02 |

2022-08-01 23:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:02 | ------------------------------------

2022-08-01 23:07:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><item-id>item-e2401c89-e247-4355-b23e-82478d003bab</item-id></data>

2022-08-01 23:07:02 | 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-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</value></node><item-id type="text-single" label="Item ID"><value>item-e2401c89-e247-4355-b23e-82478d003bab</value></item-id><item type="text-multi" label="Item"><value><item id="item-e2401c89-e247-4355-b23e-82478d003bab"><test>item-e2401c89-e247-4355-b23e-82478d003bab</test></item></value></item></result>

2022-08-01 23:07:02 | [Mutex] notify: [retrieved:item:item-e2401c89-e247-4355-b23e-82478d003bab:payload-matches:true:localhost]

2022-08-01 23:07:02 | [Mutex] received everything.

2022-08-01 23:07:02 | [Mutex] isItemNotified: retrieved:item:item-e2401c89-e247-4355-b23e-82478d003bab:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-01 23:07:02 |

2022-08-01 23:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:02 | ------------------------------------

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

2022-08-01 23:07:03 | 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-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</value><value>node-c9ca40d5-bb09-40bb-9412-464d6c5f0acf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-01 23:07:03 |

2022-08-01 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:03 | ------------------------------------

2022-08-01 23:07:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8)</node-pattern></data>

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

subscribeNodes 1.109s
2022-08-01 23:07:01 |

2022-08-01 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:01 | ------------------------------------

2022-08-01 23:07:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.159s
2022-08-01 23:07:03 |

2022-08-01 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-01 23:07:03 | ------------------------------------

2022-08-01 23:07:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ca553bb5-4b99-4c0f-a5a1-39271a4b2ef8</node><jids><value>admin@test-domain.com</value></jids></data>

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