Generated by TestNG with ReportNG at 21:17 PST on Wednesday 23 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.858s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.671s
2022-02-23 21:33:02 |

2022-02-23 21:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-23 21:33:02 | ------------------------------------

2022-02-23 21:33:02 | [Mutex] isItemNotified: node_54quhs0203:exists :: false

2022-02-23 21:33:02 | [Mutex] waiting for: [node_54quhs0203:create_node]

2022-02-23 21:33:02 | [Mutex] received everything.

2022-02-23 21:33:02 | [Mutex] isItemNotified: node_54quhs0203:create_node:success :: true

2022-02-23 21:33:02 | [Mutex] waiting for: [node_54quhs0203:subscribe_node]

2022-02-23 21:33:02 | [Mutex] waiting for: [node_54quhs0203:subscribe_node]

2022-02-23 21:33:02 | [Mutex] received everything.

2022-02-23 21:33:02 | [Mutex] isItemNotified: node_54quhs0203:subscribe_node:success :: true

2022-02-23 21:33:02 |


===== publishing normal message (to online)


2022-02-23 21:33:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:33:02 | command: <data><node>node_54quhs0203</node><entry><content>content_x213av0204</content></entry></data>

2022-02-23 21:33:02 | target: http://localhost:8088

2022-02-23 21:33:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 21:33:02 | entity: <data><node>node_54quhs0203</node><entry><content>content_x213av0204</content></entry></data>

2022-02-23 21:33:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:33:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:33:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fabf1dca-7b89-441a-8c38-a3390e1fdff6</value></item-id></result>

2022-02-23 21:33:03 | contains: true

2022-02-23 21:33:03 | [Mutex] received everything.

2022-02-23 21:33:03 | [Mutex] isItemNotified: user_regular9uoa0t0202@test-domain.com:message:received:content_x213av0204 :: true

2022-02-23 21:33:03 |


===== publishing already old message - expecting message being filtered out (to online)


2022-02-23 21:33:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:33:03 | command: <data><node>node_54quhs0203</node><expire-at>2022-02-24T05:32:58Z</expire-at><entry><content>content_aefndl0205</content></entry></data>

2022-02-23 21:33:03 | target: http://localhost:8088

2022-02-23 21:33:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 21:33:03 | entity: <data><node>node_54quhs0203</node><expire-at>2022-02-24T05:32:58Z</expire-at><entry><content>content_aefndl0205</content></entry></data>

2022-02-23 21:33:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:33:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:33:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb801831-a4e9-41d2-8bd5-c0ec797af6d2</value></item-id></result>

2022-02-23 21:33:03 | contains: true

2022-02-23 21:33:03 | [Mutex] waiting for: [user_regular9uoa0t0202@test-domain.com:message:received:content_aefndl0205]

2022-02-23 21:33:18 | [Mutex] timeout. Not received [user_regular9uoa0t0202@test-domain.com:message:received:content_aefndl0205]

2022-02-23 21:33:18 | [Mutex] isItemNotified: user_regular9uoa0t0202@test-domain.com:message:received:content_aefndl0205 :: false

2022-02-23 21:33:18 |


===== publishing normal message (to offline)


2022-02-23 21:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:33:18 | command: <data><node>node_54quhs0203</node><entry><content>content_fwdzan0206</content></entry></data>

2022-02-23 21:33:18 | target: http://localhost:8088

2022-02-23 21:33:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 21:33:18 | entity: <data><node>node_54quhs0203</node><entry><content>content_fwdzan0206</content></entry></data>

2022-02-23 21:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5a48ca9b-d306-4d16-8c70-6510da5068f9</value></item-id></result>

2022-02-23 21:33:18 | contains: true

2022-02-23 21:33:23 | [Mutex] waiting for: [user_regular9uoa0t0202@test-domain.com:message:received:content_fwdzan0206]

2022-02-23 21:33:23 | [Mutex] received everything.

2022-02-23 21:33:23 | [Mutex] isItemNotified: user_regular9uoa0t0202@test-domain.com:message:received:content_fwdzan0206 :: true

2022-02-23 21:33:23 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-02-23 21:33:23 | [Mutex] received everything.

2022-02-23 21:33:23 | [Mutex] isItemNotified: node_54quhs0203:subscribe_node:success :: true

2022-02-23 21:33:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 21:33:23 | command: <data><node>node_54quhs0203</node><expire-at>2022-02-24T05:33:28Z</expire-at><entry><content>content_8f0dpe0207</content></entry></data>

2022-02-23 21:33:23 | target: http://localhost:8088

2022-02-23 21:33:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 21:33:23 | entity: <data><node>node_54quhs0203</node><expire-at>2022-02-24T05:33:28Z</expire-at><entry><content>content_8f0dpe0207</content></entry></data>

2022-02-23 21:33:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:33:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 21:33:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b0a2becc-644a-48a3-8fef-b04e41783630</value></item-id></result>

2022-02-23 21:33:23 | contains: true

2022-02-23 21:33:31 | [Mutex] waiting for: [user_regular9uoa0t0202@test-domain.com:message:received:content_8f0dpe0207]

2022-02-23 21:33:46 | [Mutex] timeout. Not received [user_regular9uoa0t0202@test-domain.com:message:received:content_8f0dpe0207]

2022-02-23 21:33:46 | [Mutex] received everything.

2022-02-23 21:33:46 | [Mutex] isItemNotified: user_regular9uoa0t0202@test-domain.com:message:received:content_8f0dpe0207 :: false

2022-02-23 21:33:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8f0dpe0207 :: true