Generated by TestNG with ReportNG at 22:45 PDT on Monday 18 July 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.690s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-07-18 23:00:09 |

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

2022-07-18 23:00:09 | ------------------------------------

2022-07-18 23:00:09 | [Mutex] waiting for: [configured:node:node-91bc6a7e-c492-4a78-bfe4-023287709527:node-427af672-ecf1-496b-b16f-c3587e8b8022]

2022-07-18 23:00:09 | [Mutex] received everything.

2022-07-18 23:00:09 | [Mutex] isItemNotified: configured:node:node-91bc6a7e-c492-4a78-bfe4-023287709527:node-427af672-ecf1-496b-b16f-c3587e8b8022 :: true

2022-07-18 23:00:10 | [Mutex] waiting for: [received:nodes:43bc4b25-d939-431f-93e7-69a4fc17892d:localhost]

2022-07-18 23:00:10 | [Mutex] received everything.

2022-07-18 23:00:10 | [Mutex] isItemNotified: received:node:43bc4b25-d939-431f-93e7-69a4fc17892d:localhost:node-91bc6a7e-c492-4a78-bfe4-023287709527:Node 91bc6a7e-c492-4a78-bfe4-023287709527 :: true

2022-07-18 23:00:10 | [Mutex] waiting for: [received:nodes:3cbdcee3-526d-4367-b99a-9f91b4fd2c54:localhost]

2022-07-18 23:00:10 | [Mutex] waiting for: [received:nodes:3cbdcee3-526d-4367-b99a-9f91b4fd2c54:localhost]

2022-07-18 23:00:10 | [Mutex] received everything.

2022-07-18 23:00:10 | [Mutex] isItemNotified: received:node:3cbdcee3-526d-4367-b99a-9f91b4fd2c54:localhost:node-91bc6a7e-c492-4a78-bfe4-023287709527:Node 91bc6a7e-c492-4a78-bfe4-023287709527 :: false

createNodes 1.458s
2022-07-18 23:00:07 |

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

2022-07-18 23:00:07 | ------------------------------------

2022-07-18 23:00:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91bc6a7e-c492-4a78-bfe4-023287709527</title></pubsub></data>

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

2022-07-18 23:00:08 | [Mutex] waiting for: [received:nodes:955857f7-c539-45d3-9311-b8601bd8e8c9:localhost]

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

2022-07-18 23:00:08 | [Mutex] isItemNotified: received:node:955857f7-c539-45d3-9311-b8601bd8e8c9:localhost:node-91bc6a7e-c492-4a78-bfe4-023287709527:Node 91bc6a7e-c492-4a78-bfe4-023287709527 :: true

createSubnodes 1.024s
2022-07-18 23:00:08 |

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

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

2022-07-18 23:00:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-427af672-ecf1-496b-b16f-c3587e8b8022</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 427af672-ecf1-496b-b16f-c3587e8b8022</title></pubsub></data>

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

2022-07-18 23:00:09 | [Mutex] waiting for: [received:nodes:9805a245-da04-47e1-94c5-3f0caa6ad502:localhost]

2022-07-18 23:00:09 | [Mutex] waiting for: [received:nodes:9805a245-da04-47e1-94c5-3f0caa6ad502:localhost]

2022-07-18 23:00:09 | [Mutex] received everything.

2022-07-18 23:00:09 | [Mutex] isItemNotified: received:node:9805a245-da04-47e1-94c5-3f0caa6ad502:localhost:node-427af672-ecf1-496b-b16f-c3587e8b8022:Node 427af672-ecf1-496b-b16f-c3587e8b8022 :: true

deleteNodes 1.016s
2022-07-18 23:00:15 |

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

2022-07-18 23:00:15 | ------------------------------------

2022-07-18 23:00:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-427af672-ecf1-496b-b16f-c3587e8b8022</node></data>

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

2022-07-18 23:00:16 | [Mutex] waiting for: [received:nodes:8176e7c7-66d0-4004-9e4b-0c8f40521b2d:localhost]

2022-07-18 23:00:16 | [Mutex] waiting for: [received:nodes:8176e7c7-66d0-4004-9e4b-0c8f40521b2d:localhost]

2022-07-18 23:00:16 | [Mutex] received everything.

2022-07-18 23:00:16 | [Mutex] isItemNotified: received:node:8176e7c7-66d0-4004-9e4b-0c8f40521b2d:localhost:node-427af672-ecf1-496b-b16f-c3587e8b8022:Node 427af672-ecf1-496b-b16f-c3587e8b8022 :: false

deleteSubnodes 1.221s
2022-07-18 23:00:14 |

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

2022-07-18 23:00:14 | ------------------------------------

2022-07-18 23:00:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node></data>

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

2022-07-18 23:00:15 | [Mutex] waiting for: [received:nodes:66be1c96-e09e-4b2c-a948-fb50833c8312:localhost]

2022-07-18 23:00:15 | [Mutex] waiting for: [received:nodes:66be1c96-e09e-4b2c-a948-fb50833c8312:localhost]

2022-07-18 23:00:15 | [Mutex] waiting for: [received:nodes:66be1c96-e09e-4b2c-a948-fb50833c8312:localhost]

2022-07-18 23:00:15 | [Mutex] received everything.

2022-07-18 23:00:15 | [Mutex] isItemNotified: received:node:66be1c96-e09e-4b2c-a948-fb50833c8312:localhost:node-91bc6a7e-c492-4a78-bfe4-023287709527:Node 91bc6a7e-c492-4a78-bfe4-023287709527 :: false

2022-07-18 23:00:15 | [Mutex] waiting for: [received:nodes:4c40a24f-8a0a-4d88-90f8-5e4741846cf2:localhost]

2022-07-18 23:00:15 | [Mutex] received everything.

2022-07-18 23:00:15 | [Mutex] isItemNotified: received:node:4c40a24f-8a0a-4d88-90f8-5e4741846cf2:localhost:node-91bc6a7e-c492-4a78-bfe4-023287709527:Node 91bc6a7e-c492-4a78-bfe4-023287709527 :: false

publishItemsToNodes 0.211s
2022-07-18 23:00:11 |

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

2022-07-18 23:00:11 | ------------------------------------

2022-07-18 23:00:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><item-id>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</item-id><entry><test>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</test></entry></data>

2022-07-18 23:00:12 | 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-0a49478f-d7dc-493e-ae62-f4e49776c6f3</value></item-id></result>

2022-07-18 23:00:12 | [Mutex] received everything.

2022-07-18 23:00:12 | [Mutex] isItemNotified: published:item:notifieditem-0a49478f-d7dc-493e-ae62-f4e49776c6f3:admin@test-domain.com :: true

retractItemsFromNodes 0.265s
2022-07-18 23:00:12 |

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

2022-07-18 23:00:12 | ------------------------------------

2022-07-18 23:00:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><item-id>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</item-id></data>

2022-07-18 23:00:12 | 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-0a49478f-d7dc-493e-ae62-f4e49776c6f3</value></item-id></result>

2022-07-18 23:00:12 | [Mutex] waiting for: [retracted:item:notifieditem-0a49478f-d7dc-493e-ae62-f4e49776c6f3:admin@test-domain.com]

2022-07-18 23:00:12 | [Mutex] received everything.

2022-07-18 23:00:12 | [Mutex] isItemNotified: retracted:item:notifieditem-0a49478f-d7dc-493e-ae62-f4e49776c6f3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-07-18 23:00:12 |

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

2022-07-18 23:00:12 | ------------------------------------

2022-07-18 23:00:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><item-id>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</item-id></data>

2022-07-18 23:00:12 | 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-91bc6a7e-c492-4a78-bfe4-023287709527</value></node><item-id type="text-single" label="Item ID"><value>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</value></item-id><item type="text-multi" label="Item"><value><item id="item-0a49478f-d7dc-493e-ae62-f4e49776c6f3"><test>item-0a49478f-d7dc-493e-ae62-f4e49776c6f3</test></item></value></item></result>

2022-07-18 23:00:12 | [Mutex] notify: [retrieved:item:item-0a49478f-d7dc-493e-ae62-f4e49776c6f3:payload-matches:true:localhost]

2022-07-18 23:00:12 | [Mutex] received everything.

2022-07-18 23:00:12 | [Mutex] isItemNotified: retrieved:item:item-0a49478f-d7dc-493e-ae62-f4e49776c6f3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-18 23:00:12 |

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

2022-07-18 23:00:12 | ------------------------------------

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

2022-07-18 23:00:12 | 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-427af672-ecf1-496b-b16f-c3587e8b8022</value><value>node-91bc6a7e-c492-4a78-bfe4-023287709527</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-18 23:00:12 |

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

2022-07-18 23:00:12 | ------------------------------------

2022-07-18 23:00: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-91bc6a7e-c492-4a78-bfe4-023287709527)</node-pattern></data>

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

subscribeNodes 1.107s
2022-07-18 23:00:10 |

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

2022-07-18 23:00:10 | ------------------------------------

2022-07-18 23:00:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.237s
2022-07-18 23:00:12 |

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

2022-07-18 23:00:12 | ------------------------------------

2022-07-18 23:00:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-91bc6a7e-c492-4a78-bfe4-023287709527</node><jids><value>admin@test-domain.com</value></jids></data>

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