Generated by TestNG with ReportNG at 21:13 PST on Tuesday 02 February 2021
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.570s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.817s
2021-02-02 21:31:34 |

2021-02-02 21:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-02 21:31:34 | ------------------------------------

2021-02-02 21:31:34 | [Mutex] isItemNotified: node_lx7tbt0203:exists :: false

2021-02-02 21:31:34 | [Mutex] waiting for: [node_lx7tbt0203:create_node]

2021-02-02 21:31:34 | [Mutex] received everything.

2021-02-02 21:31:34 | [Mutex] isItemNotified: node_lx7tbt0203:create_node:success :: true

2021-02-02 21:31:34 | [Mutex] waiting for: [node_lx7tbt0203:subscribe_node]

2021-02-02 21:31:34 | [Mutex] received everything.

2021-02-02 21:31:34 | [Mutex] isItemNotified: node_lx7tbt0203:subscribe_node:success :: true

2021-02-02 21:31:34 |


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


2021-02-02 21:31:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:31:34 | command: <data><node>node_lx7tbt0203</node><entry><content>content_gbfqlq0204</content></entry></data>

2021-02-02 21:31:34 | target: http://localhost:8088

2021-02-02 21:31:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:31:34 | entity: <data><node>node_lx7tbt0203</node><entry><content>content_gbfqlq0204</content></entry></data>

2021-02-02 21:31:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:31:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:31:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0a402933-a970-4494-bb04-f374ea097c9a</value></item-id></result>

2021-02-02 21:31:34 | contains: true

2021-02-02 21:31:34 | [Mutex] received everything.

2021-02-02 21:31:34 | [Mutex] isItemNotified: user_regular6mdmpp0202@test-domain.com:message:received:content_gbfqlq0204 :: true

2021-02-02 21:31:34 |


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


2021-02-02 21:31:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:31:34 | command: <data><node>node_lx7tbt0203</node><expire-at>2021-02-03T05:31:29Z</expire-at><entry><content>content_lihcv60205</content></entry></data>

2021-02-02 21:31:34 | target: http://localhost:8088

2021-02-02 21:31:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:31:34 | entity: <data><node>node_lx7tbt0203</node><expire-at>2021-02-03T05:31:29Z</expire-at><entry><content>content_lihcv60205</content></entry></data>

2021-02-02 21:31:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:31:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:31:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa69339f-7b44-43d2-ad52-31733b773b61</value></item-id></result>

2021-02-02 21:31:34 | contains: true

2021-02-02 21:31:34 | [Mutex] waiting for: [user_regular6mdmpp0202@test-domain.com:message:received:content_lihcv60205]

2021-02-02 21:31:49 | [Mutex] timeout. Not received [user_regular6mdmpp0202@test-domain.com:message:received:content_lihcv60205]

2021-02-02 21:31:49 | [Mutex] isItemNotified: user_regular6mdmpp0202@test-domain.com:message:received:content_lihcv60205 :: false

2021-02-02 21:31:49 |


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


2021-02-02 21:31:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:31:50 | command: <data><node>node_lx7tbt0203</node><entry><content>content_tlymh30206</content></entry></data>

2021-02-02 21:31:50 | target: http://localhost:8088

2021-02-02 21:31:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:31:50 | entity: <data><node>node_lx7tbt0203</node><entry><content>content_tlymh30206</content></entry></data>

2021-02-02 21:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9b407d5e-1322-4a23-a5d9-6b642129b0ec</value></item-id></result>

2021-02-02 21:31:50 | contains: true

2021-02-02 21:31:55 | [Mutex] waiting for: [user_regular6mdmpp0202@test-domain.com:message:received:content_tlymh30206]

2021-02-02 21:31:55 | [Mutex] received everything.

2021-02-02 21:31:55 | [Mutex] isItemNotified: user_regular6mdmpp0202@test-domain.com:message:received:content_tlymh30206 :: true

2021-02-02 21:31:55 |


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


2021-02-02 21:31:55 | [Mutex] received everything.

2021-02-02 21:31:55 | [Mutex] isItemNotified: node_lx7tbt0203:subscribe_node:success :: true

2021-02-02 21:31:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:31:55 | command: <data><node>node_lx7tbt0203</node><expire-at>2021-02-03T05:32:00Z</expire-at><entry><content>content_7qpn2p0207</content></entry></data>

2021-02-02 21:31:55 | target: http://localhost:8088

2021-02-02 21:31:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:31:55 | entity: <data><node>node_lx7tbt0203</node><expire-at>2021-02-03T05:32:00Z</expire-at><entry><content>content_7qpn2p0207</content></entry></data>

2021-02-02 21:31:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:31:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:31:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>64f4b545-0b30-4cf7-9273-931504c18897</value></item-id></result>

2021-02-02 21:31:55 | contains: true

2021-02-02 21:32:03 | [Mutex] waiting for: [user_regular6mdmpp0202@test-domain.com:message:received:content_7qpn2p0207]

2021-02-02 21:32:03 | [Mutex] waiting for: [user_regular6mdmpp0202@test-domain.com:message:received:content_7qpn2p0207]

2021-02-02 21:32:18 | [Mutex] timeout. Not received [user_regular6mdmpp0202@test-domain.com:message:received:content_7qpn2p0207]

2021-02-02 21:32:18 | [Mutex] received everything.

2021-02-02 21:32:18 | [Mutex] isItemNotified: user_regular6mdmpp0202@test-domain.com:message:received:content_7qpn2p0207 :: false

2021-02-02 21:32:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7qpn2p0207 :: true