Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 24 May 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.482s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2023-05-24 23:00:43 |

2023-05-24 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:43 | ------------------------------------

2023-05-24 23:00:43 | [Mutex] waiting for: [configured:node:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f]

2023-05-24 23:00:43 | [Mutex] received everything.

2023-05-24 23:00:43 | [Mutex] isItemNotified: configured:node:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f :: true

2023-05-24 23:00:44 | [Mutex] waiting for: [received:nodes:d5b60c02-4f91-4adc-b7ec-54f507825b8a:localhost]

2023-05-24 23:00:44 | [Mutex] received everything.

2023-05-24 23:00:44 | [Mutex] isItemNotified: received:node:d5b60c02-4f91-4adc-b7ec-54f507825b8a:localhost:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d :: true

2023-05-24 23:00:44 | [Mutex] waiting for: [received:nodes:332e0d43-5642-44d5-81ac-5465e6a4d74c:localhost]

2023-05-24 23:00:44 | [Mutex] waiting for: [received:nodes:332e0d43-5642-44d5-81ac-5465e6a4d74c:localhost]

2023-05-24 23:00:44 | [Mutex] waiting for: [received:nodes:332e0d43-5642-44d5-81ac-5465e6a4d74c:localhost]

2023-05-24 23:00:44 | [Mutex] received everything.

2023-05-24 23:00:44 | [Mutex] isItemNotified: received:node:332e0d43-5642-44d5-81ac-5465e6a4d74c:localhost:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d :: false

createNodes 1.441s
2023-05-24 23:00:41 |

2023-05-24 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:41 | ------------------------------------

2023-05-24 23:00:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d</title></pubsub></data>

2023-05-24 23:00:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-24 23:00:42 | [Mutex] waiting for: [received:nodes:e26ec7ec-c6da-489a-b3c3-a2a3f9009d82:localhost]

2023-05-24 23:00:42 | [Mutex] waiting for: [received:nodes:e26ec7ec-c6da-489a-b3c3-a2a3f9009d82:localhost]

2023-05-24 23:00:42 | [Mutex] waiting for: [received:nodes:e26ec7ec-c6da-489a-b3c3-a2a3f9009d82:localhost]

2023-05-24 23:00:42 | [Mutex] received everything.

2023-05-24 23:00:42 | [Mutex] isItemNotified: received:node:e26ec7ec-c6da-489a-b3c3-a2a3f9009d82:localhost:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d :: true

createSubnodes 1.020s
2023-05-24 23:00:42 |

2023-05-24 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:42 | ------------------------------------

2023-05-24 23:00:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dd61ffa0-a40c-47a3-a9e5-51df0c96f83f</title></pubsub></data>

2023-05-24 23:00:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-24 23:00:43 | [Mutex] waiting for: [received:nodes:f0556856-c493-4336-9e5f-777313663b62:localhost]

2023-05-24 23:00:43 | [Mutex] waiting for: [received:nodes:f0556856-c493-4336-9e5f-777313663b62:localhost]

2023-05-24 23:00:43 | [Mutex] waiting for: [received:nodes:f0556856-c493-4336-9e5f-777313663b62:localhost]

2023-05-24 23:00:43 | [Mutex] received everything.

2023-05-24 23:00:43 | [Mutex] isItemNotified: received:node:f0556856-c493-4336-9e5f-777313663b62:localhost:node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f:Node dd61ffa0-a40c-47a3-a9e5-51df0c96f83f :: true

deleteNodes 1.016s
2023-05-24 23:00:49 |

2023-05-24 23:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:49 | ------------------------------------

2023-05-24 23:00:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f</node></data>

2023-05-24 23:00:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-24 23:00:50 | [Mutex] waiting for: [received:nodes:60219c87-cbbb-4f5e-a37f-4e68a0127023:localhost]

2023-05-24 23:00:50 | [Mutex] waiting for: [received:nodes:60219c87-cbbb-4f5e-a37f-4e68a0127023:localhost]

2023-05-24 23:00:50 | [Mutex] waiting for: [received:nodes:60219c87-cbbb-4f5e-a37f-4e68a0127023:localhost]

2023-05-24 23:00:50 | [Mutex] received everything.

2023-05-24 23:00:50 | [Mutex] isItemNotified: received:node:60219c87-cbbb-4f5e-a37f-4e68a0127023:localhost:node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f:Node dd61ffa0-a40c-47a3-a9e5-51df0c96f83f :: false

deleteSubnodes 1.105s
2023-05-24 23:00:47 |

2023-05-24 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:47 | ------------------------------------

2023-05-24 23:00:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node></data>

2023-05-24 23:00:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-24 23:00:49 | [Mutex] waiting for: [received:nodes:f7be7513-5856-4d6d-872e-2625f28c8297:localhost]

2023-05-24 23:00:49 | [Mutex] waiting for: [received:nodes:f7be7513-5856-4d6d-872e-2625f28c8297:localhost]

2023-05-24 23:00:49 | [Mutex] received everything.

2023-05-24 23:00:49 | [Mutex] isItemNotified: received:node:f7be7513-5856-4d6d-872e-2625f28c8297:localhost:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d :: false

2023-05-24 23:00:49 | [Mutex] waiting for: [received:nodes:03e0961b-f18c-40b9-82af-9d80eef89e3c:localhost]

2023-05-24 23:00:49 | [Mutex] received everything.

2023-05-24 23:00:49 | [Mutex] isItemNotified: received:node:03e0961b-f18c-40b9-82af-9d80eef89e3c:localhost:node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d:Node 7d6df965-ccaa-4479-8fb6-95fac09a2e2d :: false

publishItemsToNodes 0.234s
2023-05-24 23:00:45 |

2023-05-24 23:00:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:45 | ------------------------------------

2023-05-24 23:00:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><item-id>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</item-id><entry><test>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</test></entry></data>

2023-05-24 23:00:46 | 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-b193bd8b-2afb-4ea5-83cd-766ea61797e0</value></item-id></result>

2023-05-24 23:00:46 | [Mutex] waiting for: [published:item:notifieditem-b193bd8b-2afb-4ea5-83cd-766ea61797e0:admin@test-domain.com]

2023-05-24 23:00:46 | [Mutex] received everything.

2023-05-24 23:00:46 | [Mutex] isItemNotified: published:item:notifieditem-b193bd8b-2afb-4ea5-83cd-766ea61797e0:admin@test-domain.com :: true

retractItemsFromNodes 0.313s
2023-05-24 23:00:46 |

2023-05-24 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:46 | ------------------------------------

2023-05-24 23:00:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><item-id>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</item-id></data>

2023-05-24 23:00:46 | 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-b193bd8b-2afb-4ea5-83cd-766ea61797e0</value></item-id></result>

2023-05-24 23:00:46 | [Mutex] received everything.

2023-05-24 23:00:46 | [Mutex] isItemNotified: retracted:item:notifieditem-b193bd8b-2afb-4ea5-83cd-766ea61797e0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2023-05-24 23:00:46 |

2023-05-24 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:46 | ------------------------------------

2023-05-24 23:00:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><item-id>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</item-id></data>

2023-05-24 23:00:46 | 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-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</value></node><item-id type="text-single" label="Item ID"><value>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</value></item-id><item type="text-multi" label="Item"><value><item id="item-b193bd8b-2afb-4ea5-83cd-766ea61797e0"><test>item-b193bd8b-2afb-4ea5-83cd-766ea61797e0</test></item></value></item></result>

2023-05-24 23:00:46 | [Mutex] notify: [retrieved:item:item-b193bd8b-2afb-4ea5-83cd-766ea61797e0:payload-matches:true:localhost]

2023-05-24 23:00:46 | [Mutex] received everything.

2023-05-24 23:00:46 | [Mutex] isItemNotified: retrieved:item:item-b193bd8b-2afb-4ea5-83cd-766ea61797e0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-05-24 23:00:46 |

2023-05-24 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:46 | ------------------------------------

2023-05-24 23:00:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-05-24 23:00:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</value><value>test</value><value>node-dd61ffa0-a40c-47a3-a9e5-51df0c96f83f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-24 23:00:46 |

2023-05-24 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:46 | ------------------------------------

2023-05-24 23:00:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d)</node-pattern></data>

2023-05-24 23:00:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.153s
2023-05-24 23:00:44 |

2023-05-24 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:44 | ------------------------------------

2023-05-24 23:00:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-24 23:00:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.182s
2023-05-24 23:00:46 |

2023-05-24 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 23:00:46 | ------------------------------------

2023-05-24 23:00:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7d6df965-ccaa-4479-8fb6-95fac09a2e2d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-24 23:00:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>