Generated by TestNG with ReportNG at 22:47 PDT on Tuesday 27 September 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 44.866s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.669s
2022-09-27 23:02:49 |

2022-09-27 23:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-27 23:02:49 | ------------------------------------

2022-09-27 23:02:49 | [Mutex] isItemNotified: node_bn6v9o0204:exists :: false

2022-09-27 23:02:49 | [Mutex] waiting for: [node_bn6v9o0204:create_node]

2022-09-27 23:02:49 | [Mutex] received everything.

2022-09-27 23:02:49 | [Mutex] isItemNotified: node_bn6v9o0204:create_node:success :: true

2022-09-27 23:02:49 | [Mutex] waiting for: [node_bn6v9o0204:subscribe_node]

2022-09-27 23:02:49 | [Mutex] received everything.

2022-09-27 23:02:49 | [Mutex] isItemNotified: node_bn6v9o0204:subscribe_node:success :: true

2022-09-27 23:02:49 |


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


2022-09-27 23:02:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-27 23:02:49 | command: <data><node>node_bn6v9o0204</node><entry><content>content_evgqu20205</content></entry></data>

2022-09-27 23:02:49 | target: http://localhost:8088

2022-09-27 23:02:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-27 23:02:49 | entity: <data><node>node_bn6v9o0204</node><entry><content>content_evgqu20205</content></entry></data>

2022-09-27 23:02:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 06:02:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-27 23:02:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65d047be-ab73-495d-a4c1-4b974f56937c</value></item-id></result>

2022-09-27 23:02:49 | contains: true

2022-09-27 23:02:49 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_evgqu20205]

2022-09-27 23:02:49 | [Mutex] received everything.

2022-09-27 23:02:49 | [Mutex] isItemNotified: user_regular21xvql0203@test-domain.com:message:received:content_evgqu20205 :: true

2022-09-27 23:02:49 |


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


2022-09-27 23:02:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-27 23:02:49 | command: <data><node>node_bn6v9o0204</node><expire-at>2022-09-28T06:02:44Z</expire-at><entry><content>content_5rne8c0206</content></entry></data>

2022-09-27 23:02:49 | target: http://localhost:8088

2022-09-27 23:02:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-27 23:02:49 | entity: <data><node>node_bn6v9o0204</node><expire-at>2022-09-28T06:02:44Z</expire-at><entry><content>content_5rne8c0206</content></entry></data>

2022-09-27 23:02:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 06:02:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-27 23:02:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>83ed263f-4092-42d8-a227-e8f7a7582e64</value></item-id></result>

2022-09-27 23:02:50 | contains: true

2022-09-27 23:02:50 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_5rne8c0206]

2022-09-27 23:03:05 | [Mutex] timeout. Not received [user_regular21xvql0203@test-domain.com:message:received:content_5rne8c0206]

2022-09-27 23:03:05 | [Mutex] isItemNotified: user_regular21xvql0203@test-domain.com:message:received:content_5rne8c0206 :: false

2022-09-27 23:03:05 |


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


2022-09-27 23:03:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-27 23:03:05 | command: <data><node>node_bn6v9o0204</node><entry><content>content_h96en60207</content></entry></data>

2022-09-27 23:03:05 | target: http://localhost:8088

2022-09-27 23:03:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-27 23:03:05 | entity: <data><node>node_bn6v9o0204</node><entry><content>content_h96en60207</content></entry></data>

2022-09-27 23:03:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 06:03:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-27 23:03:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c8c878bc-eb84-4ac3-af30-e26b9aad07e7</value></item-id></result>

2022-09-27 23:03:05 | contains: true

2022-09-27 23:03:10 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_h96en60207]

2022-09-27 23:03:10 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_h96en60207]

2022-09-27 23:03:10 | [Mutex] received everything.

2022-09-27 23:03:10 | [Mutex] isItemNotified: user_regular21xvql0203@test-domain.com:message:received:content_h96en60207 :: true

2022-09-27 23:03:10 |


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


2022-09-27 23:03:10 | [Mutex] received everything.

2022-09-27 23:03:10 | [Mutex] isItemNotified: node_bn6v9o0204:subscribe_node:success :: true

2022-09-27 23:03:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-27 23:03:10 | command: <data><node>node_bn6v9o0204</node><expire-at>2022-09-28T06:03:15Z</expire-at><entry><content>content_671hbq0208</content></entry></data>

2022-09-27 23:03:10 | target: http://localhost:8088

2022-09-27 23:03:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-27 23:03:10 | entity: <data><node>node_bn6v9o0204</node><expire-at>2022-09-28T06:03:15Z</expire-at><entry><content>content_671hbq0208</content></entry></data>

2022-09-27 23:03:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 06:03:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-27 23:03:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5435acb-4b0d-484f-9008-4b32f9657cfa</value></item-id></result>

2022-09-27 23:03:10 | contains: true

2022-09-27 23:03:18 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_671hbq0208]

2022-09-27 23:03:18 | [Mutex] waiting for: [user_regular21xvql0203@test-domain.com:message:received:content_671hbq0208]

2022-09-27 23:03:33 | [Mutex] timeout. Not received [user_regular21xvql0203@test-domain.com:message:received:content_671hbq0208]

2022-09-27 23:03:33 | [Mutex] received everything.

2022-09-27 23:03:33 | [Mutex] isItemNotified: user_regular21xvql0203@test-domain.com:message:received:content_671hbq0208 :: false

2022-09-27 23:03:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_671hbq0208 :: true