Generated by TestNG with ReportNG at 11:44 PDT on Wednesday 07 April 2021
root@eaa73862192b / 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.207s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.769s
2021-04-07 12:00:54 |

2021-04-07 12:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-07 12:00:54 | ------------------------------------

2021-04-07 12:00:54 | [Mutex] isItemNotified: node_qc5syw0203:exists :: false

2021-04-07 12:00:54 | [Mutex] waiting for: [node_qc5syw0203:create_node]

2021-04-07 12:00:54 | [Mutex] received everything.

2021-04-07 12:00:54 | [Mutex] isItemNotified: node_qc5syw0203:create_node:success :: true

2021-04-07 12:00:54 | [Mutex] waiting for: [node_qc5syw0203:subscribe_node]

2021-04-07 12:00:54 | [Mutex] waiting for: [node_qc5syw0203:subscribe_node]

2021-04-07 12:00:54 | [Mutex] received everything.

2021-04-07 12:00:54 | [Mutex] isItemNotified: node_qc5syw0203:subscribe_node:success :: true

2021-04-07 12:00:54 |


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


2021-04-07 12:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 12:00:54 | command: <data><node>node_qc5syw0203</node><entry><content>content_ho0brj0204</content></entry></data>

2021-04-07 12:00:54 | target: http://localhost:8088

2021-04-07 12:00:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-07 12:00:54 | entity: <data><node>node_qc5syw0203</node><entry><content>content_ho0brj0204</content></entry></data>

2021-04-07 12:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 19:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 12:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c35d1bac-1aa8-42a6-a742-a34cb30a3280</value></item-id></result>

2021-04-07 12:00:54 | contains: true

2021-04-07 12:00:54 | [Mutex] received everything.

2021-04-07 12:00:54 | [Mutex] isItemNotified: user_regular4f6ady0202@test-domain.com:message:received:content_ho0brj0204 :: true

2021-04-07 12:00:54 |


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


2021-04-07 12:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 12:00:54 | command: <data><node>node_qc5syw0203</node><expire-at>2021-04-07T19:00:49Z</expire-at><entry><content>content_ydle130205</content></entry></data>

2021-04-07 12:00:54 | target: http://localhost:8088

2021-04-07 12:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-07 12:00:54 | entity: <data><node>node_qc5syw0203</node><expire-at>2021-04-07T19:00:49Z</expire-at><entry><content>content_ydle130205</content></entry></data>

2021-04-07 12:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 19:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 12:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>173a3ecf-289f-4e10-a4cf-539c3c123df2</value></item-id></result>

2021-04-07 12:00:54 | contains: true

2021-04-07 12:00:54 | [Mutex] waiting for: [user_regular4f6ady0202@test-domain.com:message:received:content_ydle130205]

2021-04-07 12:01:09 | [Mutex] timeout. Not received [user_regular4f6ady0202@test-domain.com:message:received:content_ydle130205]

2021-04-07 12:01:09 | [Mutex] isItemNotified: user_regular4f6ady0202@test-domain.com:message:received:content_ydle130205 :: false

2021-04-07 12:01:09 |


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


2021-04-07 12:01:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 12:01:09 | command: <data><node>node_qc5syw0203</node><entry><content>content_1pe4020206</content></entry></data>

2021-04-07 12:01:09 | target: http://localhost:8088

2021-04-07 12:01:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-07 12:01:09 | entity: <data><node>node_qc5syw0203</node><entry><content>content_1pe4020206</content></entry></data>

2021-04-07 12:01:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 19:01:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 12:01:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1426096b-a3e8-4cd5-8bda-bbe1ef3dcf46</value></item-id></result>

2021-04-07 12:01:09 | contains: true

2021-04-07 12:01:15 | [Mutex] waiting for: [user_regular4f6ady0202@test-domain.com:message:received:content_1pe4020206]

2021-04-07 12:01:15 | [Mutex] waiting for: [user_regular4f6ady0202@test-domain.com:message:received:content_1pe4020206]

2021-04-07 12:01:15 | [Mutex] received everything.

2021-04-07 12:01:15 | [Mutex] isItemNotified: user_regular4f6ady0202@test-domain.com:message:received:content_1pe4020206 :: true

2021-04-07 12:01:15 |


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


2021-04-07 12:01:15 | [Mutex] received everything.

2021-04-07 12:01:15 | [Mutex] isItemNotified: node_qc5syw0203:subscribe_node:success :: true

2021-04-07 12:01:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-07 12:01:15 | command: <data><node>node_qc5syw0203</node><expire-at>2021-04-07T19:01:20Z</expire-at><entry><content>content_n4gol10207</content></entry></data>

2021-04-07 12:01:15 | target: http://localhost:8088

2021-04-07 12:01:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-07 12:01:15 | entity: <data><node>node_qc5syw0203</node><expire-at>2021-04-07T19:01:20Z</expire-at><entry><content>content_n4gol10207</content></entry></data>

2021-04-07 12:01:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 19:01:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-07 12:01:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7fe25af5-e30e-4175-9920-eb9cf52f38e1</value></item-id></result>

2021-04-07 12:01:15 | contains: true

2021-04-07 12:01:23 | [Mutex] waiting for: [user_regular4f6ady0202@test-domain.com:message:received:content_n4gol10207]

2021-04-07 12:01:23 | [Mutex] waiting for: [user_regular4f6ady0202@test-domain.com:message:received:content_n4gol10207]

2021-04-07 12:01:38 | [Mutex] timeout. Not received [user_regular4f6ady0202@test-domain.com:message:received:content_n4gol10207]

2021-04-07 12:01:38 | [Mutex] received everything.

2021-04-07 12:01:38 | [Mutex] isItemNotified: user_regular4f6ady0202@test-domain.com:message:received:content_n4gol10207 :: false

2021-04-07 12:01:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n4gol10207 :: true