Generated by TestNG with ReportNG at 21:40 PST on Tuesday 03 November 2020
root@87f6aca6b6f2 / 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.693s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.784s
2020-11-03 21:58:03 |

2020-11-03 21:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-03 21:58:03 | ------------------------------------

2020-11-03 21:58:03 | [Mutex] isItemNotified: node_4llldg0203:exists :: false

2020-11-03 21:58:03 | [Mutex] waiting for: [node_4llldg0203:create_node]

2020-11-03 21:58:03 | [Mutex] received everything.

2020-11-03 21:58:03 | [Mutex] isItemNotified: node_4llldg0203:create_node:success :: true

2020-11-03 21:58:03 | [Mutex] waiting for: [node_4llldg0203:subscribe_node]

2020-11-03 21:58:03 | [Mutex] waiting for: [node_4llldg0203:subscribe_node]

2020-11-03 21:58:03 | [Mutex] received everything.

2020-11-03 21:58:03 | [Mutex] isItemNotified: node_4llldg0203:subscribe_node:success :: true

2020-11-03 21:58:03 |


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


2020-11-03 21:58:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:03 | command: <data><node>node_4llldg0203</node><entry><content>content_tqyes80204</content></entry></data>

2020-11-03 21:58:03 | target: http://localhost:8088

2020-11-03 21:58:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:58:03 | entity: <data><node>node_4llldg0203</node><entry><content>content_tqyes80204</content></entry></data>

2020-11-03 21:58:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc2569c2-e73f-475a-afd5-fa309240d84b</value></item-id></result>

2020-11-03 21:58:03 | contains: true

2020-11-03 21:58:03 | [Mutex] received everything.

2020-11-03 21:58:03 | [Mutex] isItemNotified: user_regular9jgrhq0202@test-domain.com:message:received:content_tqyes80204 :: true

2020-11-03 21:58:03 |


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


2020-11-03 21:58:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:03 | command: <data><node>node_4llldg0203</node><expire-at>2020-11-04T05:57:58Z</expire-at><entry><content>content_43rnoq0205</content></entry></data>

2020-11-03 21:58:03 | target: http://localhost:8088

2020-11-03 21:58:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:58:03 | entity: <data><node>node_4llldg0203</node><expire-at>2020-11-04T05:57:58Z</expire-at><entry><content>content_43rnoq0205</content></entry></data>

2020-11-03 21:58:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3400ef5-e4f5-4822-bd5b-e77acaf74807</value></item-id></result>

2020-11-03 21:58:03 | contains: true

2020-11-03 21:58:03 | [Mutex] waiting for: [user_regular9jgrhq0202@test-domain.com:message:received:content_43rnoq0205]

2020-11-03 21:58:18 | [Mutex] timeout. Not received [user_regular9jgrhq0202@test-domain.com:message:received:content_43rnoq0205]

2020-11-03 21:58:18 | [Mutex] isItemNotified: user_regular9jgrhq0202@test-domain.com:message:received:content_43rnoq0205 :: false

2020-11-03 21:58:18 |


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


2020-11-03 21:58:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:18 | command: <data><node>node_4llldg0203</node><entry><content>content_p5t9jt0206</content></entry></data>

2020-11-03 21:58:18 | target: http://localhost:8088

2020-11-03 21:58:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:58:18 | entity: <data><node>node_4llldg0203</node><entry><content>content_p5t9jt0206</content></entry></data>

2020-11-03 21:58:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4618d7bf-0ca2-41f8-8c44-632a12edc0ab</value></item-id></result>

2020-11-03 21:58:18 | contains: true

2020-11-03 21:58:23 | [Mutex] waiting for: [user_regular9jgrhq0202@test-domain.com:message:received:content_p5t9jt0206]

2020-11-03 21:58:23 | [Mutex] received everything.

2020-11-03 21:58:23 | [Mutex] isItemNotified: user_regular9jgrhq0202@test-domain.com:message:received:content_p5t9jt0206 :: true

2020-11-03 21:58:23 |


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


2020-11-03 21:58:23 | [Mutex] received everything.

2020-11-03 21:58:23 | [Mutex] isItemNotified: node_4llldg0203:subscribe_node:success :: true

2020-11-03 21:58:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:23 | command: <data><node>node_4llldg0203</node><expire-at>2020-11-04T05:58:28Z</expire-at><entry><content>content_ao8j120207</content></entry></data>

2020-11-03 21:58:23 | target: http://localhost:8088

2020-11-03 21:58:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:58:23 | entity: <data><node>node_4llldg0203</node><expire-at>2020-11-04T05:58:28Z</expire-at><entry><content>content_ao8j120207</content></entry></data>

2020-11-03 21:58:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5165ce78-529f-4cdf-b3e1-0695201e9ada</value></item-id></result>

2020-11-03 21:58:23 | contains: true

2020-11-03 21:58:32 | [Mutex] waiting for: [user_regular9jgrhq0202@test-domain.com:message:received:content_ao8j120207]

2020-11-03 21:58:32 | [Mutex] waiting for: [user_regular9jgrhq0202@test-domain.com:message:received:content_ao8j120207]

2020-11-03 21:58:32 | [Mutex] waiting for: [user_regular9jgrhq0202@test-domain.com:message:received:content_ao8j120207]

2020-11-03 21:58:47 | [Mutex] timeout. Not received [user_regular9jgrhq0202@test-domain.com:message:received:content_ao8j120207]

2020-11-03 21:58:47 | [Mutex] received everything.

2020-11-03 21:58:47 | [Mutex] isItemNotified: user_regular9jgrhq0202@test-domain.com:message:received:content_ao8j120207 :: false

2020-11-03 21:58:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ao8j120207 :: true