Generated by TestNG with ReportNG at 21:30 PST on Tuesday 01 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 : 45.535s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.659s
2022-02-01 21:46:59 |

2022-02-01 21:46:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-01 21:46:59 | ------------------------------------

2022-02-01 21:46:59 | [Mutex] isItemNotified: node_qi9rtb0203:exists :: false

2022-02-01 21:46:59 | [Mutex] waiting for: [node_qi9rtb0203:create_node]

2022-02-01 21:46:59 | [Mutex] received everything.

2022-02-01 21:46:59 | [Mutex] isItemNotified: node_qi9rtb0203:create_node:success :: true

2022-02-01 21:46:59 | [Mutex] waiting for: [node_qi9rtb0203:subscribe_node]

2022-02-01 21:46:59 | [Mutex] waiting for: [node_qi9rtb0203:subscribe_node]

2022-02-01 21:46:59 | [Mutex] received everything.

2022-02-01 21:46:59 | [Mutex] isItemNotified: node_qi9rtb0203:subscribe_node:success :: true

2022-02-01 21:46:59 |


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


2022-02-01 21:46:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:46:59 | command: <data><node>node_qi9rtb0203</node><entry><content>content_uej5j40204</content></entry></data>

2022-02-01 21:46:59 | target: http://localhost:8088

2022-02-01 21:46:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-01 21:46:59 | entity: <data><node>node_qi9rtb0203</node><entry><content>content_uej5j40204</content></entry></data>

2022-02-01 21:46:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:46:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:46:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>534638f5-abbf-4e84-8de9-1c64f74fd147</value></item-id></result>

2022-02-01 21:46:59 | contains: true

2022-02-01 21:46:59 | [Mutex] received everything.

2022-02-01 21:46:59 | [Mutex] isItemNotified: user_regular2tdm680202@test-domain.com:message:received:content_uej5j40204 :: true

2022-02-01 21:46:59 |


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


2022-02-01 21:46:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:46:59 | command: <data><node>node_qi9rtb0203</node><expire-at>2022-02-02T05:46:54Z</expire-at><entry><content>content_f4euu90205</content></entry></data>

2022-02-01 21:46:59 | target: http://localhost:8088

2022-02-01 21:46:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:46:59 | entity: <data><node>node_qi9rtb0203</node><expire-at>2022-02-02T05:46:54Z</expire-at><entry><content>content_f4euu90205</content></entry></data>

2022-02-01 21:46:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:46:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:46:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0757c4ae-e8d3-461b-8621-3e5a4ef03cbe</value></item-id></result>

2022-02-01 21:46:59 | contains: true

2022-02-01 21:46:59 | [Mutex] waiting for: [user_regular2tdm680202@test-domain.com:message:received:content_f4euu90205]

2022-02-01 21:47:14 | [Mutex] timeout. Not received [user_regular2tdm680202@test-domain.com:message:received:content_f4euu90205]

2022-02-01 21:47:14 | [Mutex] isItemNotified: user_regular2tdm680202@test-domain.com:message:received:content_f4euu90205 :: false

2022-02-01 21:47:14 |


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


2022-02-01 21:47:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:47:14 | command: <data><node>node_qi9rtb0203</node><entry><content>content_vgli6p0206</content></entry></data>

2022-02-01 21:47:14 | target: http://localhost:8088

2022-02-01 21:47:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-01 21:47:14 | entity: <data><node>node_qi9rtb0203</node><entry><content>content_vgli6p0206</content></entry></data>

2022-02-01 21:47:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:47:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:47:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65c18249-74e5-47d5-a525-c8a8ffc22d6e</value></item-id></result>

2022-02-01 21:47:14 | contains: true

2022-02-01 21:47:19 | [Mutex] waiting for: [user_regular2tdm680202@test-domain.com:message:received:content_vgli6p0206]

2022-02-01 21:47:19 | [Mutex] waiting for: [user_regular2tdm680202@test-domain.com:message:received:content_vgli6p0206]

2022-02-01 21:47:19 | [Mutex] received everything.

2022-02-01 21:47:19 | [Mutex] isItemNotified: user_regular2tdm680202@test-domain.com:message:received:content_vgli6p0206 :: true

2022-02-01 21:47:19 |


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


2022-02-01 21:47:19 | [Mutex] received everything.

2022-02-01 21:47:19 | [Mutex] isItemNotified: node_qi9rtb0203:subscribe_node:success :: true

2022-02-01 21:47:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:47:19 | command: <data><node>node_qi9rtb0203</node><expire-at>2022-02-02T05:47:24Z</expire-at><entry><content>content_pjvs9e0207</content></entry></data>

2022-02-01 21:47:19 | target: http://localhost:8088

2022-02-01 21:47:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:47:19 | entity: <data><node>node_qi9rtb0203</node><expire-at>2022-02-02T05:47:24Z</expire-at><entry><content>content_pjvs9e0207</content></entry></data>

2022-02-01 21:47:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:47:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:47:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a46c1b9-c8ef-4b10-ba96-59ca2f8763ba</value></item-id></result>

2022-02-01 21:47:19 | contains: true

2022-02-01 21:47:28 | [Mutex] waiting for: [user_regular2tdm680202@test-domain.com:message:received:content_pjvs9e0207]

2022-02-01 21:47:28 | [Mutex] waiting for: [user_regular2tdm680202@test-domain.com:message:received:content_pjvs9e0207]

2022-02-01 21:47:43 | [Mutex] timeout. Not received [user_regular2tdm680202@test-domain.com:message:received:content_pjvs9e0207]

2022-02-01 21:47:43 | [Mutex] received everything.

2022-02-01 21:47:43 | [Mutex] isItemNotified: user_regular2tdm680202@test-domain.com:message:received:content_pjvs9e0207 :: false

2022-02-01 21:47:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pjvs9e0207 :: true