Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 24 March 2021
root@43fec6d4badf / 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.577s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.680s
2021-03-24 22:30:36 |

2021-03-24 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-24 22:30:36 | ------------------------------------

2021-03-24 22:30:36 | [Mutex] isItemNotified: node_kmib210203:exists :: false

2021-03-24 22:30:36 | [Mutex] waiting for: [node_kmib210203:create_node]

2021-03-24 22:30:36 | [Mutex] received everything.

2021-03-24 22:30:36 | [Mutex] isItemNotified: node_kmib210203:create_node:success :: true

2021-03-24 22:30:36 | [Mutex] waiting for: [node_kmib210203:subscribe_node]

2021-03-24 22:30:36 | [Mutex] waiting for: [node_kmib210203:subscribe_node]

2021-03-24 22:30:36 | [Mutex] received everything.

2021-03-24 22:30:36 | [Mutex] isItemNotified: node_kmib210203:subscribe_node:success :: true

2021-03-24 22:30:36 |


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


2021-03-24 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-24 22:30:36 | command: <data><node>node_kmib210203</node><entry><content>content_arhrf70204</content></entry></data>

2021-03-24 22:30:36 | target: http://localhost:8088

2021-03-24 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-24 22:30:36 | entity: <data><node>node_kmib210203</node><entry><content>content_arhrf70204</content></entry></data>

2021-03-24 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-24 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e40e50cd-0d8b-4dc8-89dc-530a00a09254</value></item-id></result>

2021-03-24 22:30:36 | contains: true

2021-03-24 22:30:36 | [Mutex] received everything.

2021-03-24 22:30:36 | [Mutex] isItemNotified: user_regularg866tc0202@test-domain.com:message:received:content_arhrf70204 :: true

2021-03-24 22:30:36 |


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


2021-03-24 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-24 22:30:36 | command: <data><node>node_kmib210203</node><expire-at>2021-03-25T05:30:31Z</expire-at><entry><content>content_78qf6b0205</content></entry></data>

2021-03-24 22:30:36 | target: http://localhost:8088

2021-03-24 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-24 22:30:36 | entity: <data><node>node_kmib210203</node><expire-at>2021-03-25T05:30:31Z</expire-at><entry><content>content_78qf6b0205</content></entry></data>

2021-03-24 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-24 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1fdccd5a-46f8-4d43-b04d-fdd9a189a86c</value></item-id></result>

2021-03-24 22:30:36 | contains: true

2021-03-24 22:30:36 | [Mutex] waiting for: [user_regularg866tc0202@test-domain.com:message:received:content_78qf6b0205]

2021-03-24 22:30:51 | [Mutex] timeout. Not received [user_regularg866tc0202@test-domain.com:message:received:content_78qf6b0205]

2021-03-24 22:30:51 | [Mutex] isItemNotified: user_regularg866tc0202@test-domain.com:message:received:content_78qf6b0205 :: false

2021-03-24 22:30:51 |


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


2021-03-24 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-24 22:30:51 | command: <data><node>node_kmib210203</node><entry><content>content_yfqdw00206</content></entry></data>

2021-03-24 22:30:51 | target: http://localhost:8088

2021-03-24 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-24 22:30:51 | entity: <data><node>node_kmib210203</node><entry><content>content_yfqdw00206</content></entry></data>

2021-03-24 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-24 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6d570171-1776-4c6d-9a4c-9d065042f9ba</value></item-id></result>

2021-03-24 22:30:51 | contains: true

2021-03-24 22:30:56 | [Mutex] waiting for: [user_regularg866tc0202@test-domain.com:message:received:content_yfqdw00206]

2021-03-24 22:30:56 | [Mutex] received everything.

2021-03-24 22:30:56 | [Mutex] isItemNotified: user_regularg866tc0202@test-domain.com:message:received:content_yfqdw00206 :: true

2021-03-24 22:30:56 |


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


2021-03-24 22:30:56 | [Mutex] received everything.

2021-03-24 22:30:56 | [Mutex] isItemNotified: node_kmib210203:subscribe_node:success :: true

2021-03-24 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-24 22:30:56 | command: <data><node>node_kmib210203</node><expire-at>2021-03-25T05:31:01Z</expire-at><entry><content>content_qw6u3g0207</content></entry></data>

2021-03-24 22:30:56 | target: http://localhost:8088

2021-03-24 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-24 22:30:56 | entity: <data><node>node_kmib210203</node><expire-at>2021-03-25T05:31:01Z</expire-at><entry><content>content_qw6u3g0207</content></entry></data>

2021-03-24 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-24 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bbb6fabd-3c91-4ceb-acc5-9133c2c8b792</value></item-id></result>

2021-03-24 22:30:56 | contains: true

2021-03-24 22:31:05 | [Mutex] waiting for: [user_regularg866tc0202@test-domain.com:message:received:content_qw6u3g0207]

2021-03-24 22:31:20 | [Mutex] timeout. Not received [user_regularg866tc0202@test-domain.com:message:received:content_qw6u3g0207]

2021-03-24 22:31:20 | [Mutex] received everything.

2021-03-24 22:31:20 | [Mutex] isItemNotified: user_regularg866tc0202@test-domain.com:message:received:content_qw6u3g0207 :: false

2021-03-24 22:31:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qw6u3g0207 :: true