Generated by TestNG with ReportNG at 21:32 PST on Sunday 05 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.784s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.633s
2023-11-05 21:47:05 |

2023-11-05 21:47:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 21:47:05 | ------------------------------------

2023-11-05 21:47:05 | [Mutex] isItemNotified: node_9akdi00208:exists :: false

2023-11-05 21:47:05 | [Mutex] waiting for: [node_9akdi00208:create_node]

2023-11-05 21:47:05 | [Mutex] waiting for: [node_9akdi00208:create_node]

2023-11-05 21:47:05 | [Mutex] received everything.

2023-11-05 21:47:05 | [Mutex] isItemNotified: node_9akdi00208:create_node:success :: true

2023-11-05 21:47:05 | [Mutex] waiting for: [node_9akdi00208:subscribe_node]

2023-11-05 21:47:05 | [Mutex] waiting for: [node_9akdi00208:subscribe_node]

2023-11-05 21:47:05 | [Mutex] received everything.

2023-11-05 21:47:05 | [Mutex] isItemNotified: node_9akdi00208:subscribe_node:success :: true

2023-11-05 21:47:05 |


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


2023-11-05 21:47:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 21:47:05 | command: <data><node>node_9akdi00208</node><entry><content>content_ejgox40209</content></entry></data>

2023-11-05 21:47:05 | target: http://localhost:8088

2023-11-05 21:47:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 21:47:05 | entity: <data><node>node_9akdi00208</node><entry><content>content_ejgox40209</content></entry></data>

2023-11-05 21:47:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 05:47:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 21:47:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c2a9795f-978e-4d23-9696-36a8041ee962</value></item-id></result>

2023-11-05 21:47:05 | contains: true

2023-11-05 21:47:05 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_ejgox40209]

2023-11-05 21:47:05 | [Mutex] received everything.

2023-11-05 21:47:05 | [Mutex] isItemNotified: user_regulardpwo0t0207@test-domain.com:message:received:content_ejgox40209 :: true

2023-11-05 21:47:05 |


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


2023-11-05 21:47:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 21:47:05 | command: <data><node>node_9akdi00208</node><expire-at>2023-11-06T05:47:00Z</expire-at><entry><content>content_9b37gt0210</content></entry></data>

2023-11-05 21:47:05 | target: http://localhost:8088

2023-11-05 21:47:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 21:47:05 | entity: <data><node>node_9akdi00208</node><expire-at>2023-11-06T05:47:00Z</expire-at><entry><content>content_9b37gt0210</content></entry></data>

2023-11-05 21:47:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 05:47:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 21:47:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cfaccab3-656f-4a93-8793-5321b5b58600</value></item-id></result>

2023-11-05 21:47:05 | contains: true

2023-11-05 21:47:05 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_9b37gt0210]

2023-11-05 21:47:20 | [Mutex] timeout. Not received [user_regulardpwo0t0207@test-domain.com:message:received:content_9b37gt0210]

2023-11-05 21:47:20 | [Mutex] isItemNotified: user_regulardpwo0t0207@test-domain.com:message:received:content_9b37gt0210 :: false

2023-11-05 21:47:20 |


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


2023-11-05 21:47:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 21:47:20 | command: <data><node>node_9akdi00208</node><entry><content>content_dbneki0211</content></entry></data>

2023-11-05 21:47:20 | target: http://localhost:8088

2023-11-05 21:47:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 21:47:20 | entity: <data><node>node_9akdi00208</node><entry><content>content_dbneki0211</content></entry></data>

2023-11-05 21:47:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 05:47:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 21:47:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>955296e9-2b08-4054-b197-c8fbc5926f3a</value></item-id></result>

2023-11-05 21:47:20 | contains: true

2023-11-05 21:47:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 21:47:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 21:47:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 21:47:25 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_dbneki0211]

2023-11-05 21:47:25 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_dbneki0211]

2023-11-05 21:47:25 | [Mutex] received everything.

2023-11-05 21:47:25 | [Mutex] isItemNotified: user_regulardpwo0t0207@test-domain.com:message:received:content_dbneki0211 :: true

2023-11-05 21:47:25 |


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


2023-11-05 21:47:25 | [Mutex] received everything.

2023-11-05 21:47:25 | [Mutex] isItemNotified: node_9akdi00208:subscribe_node:success :: true

2023-11-05 21:47:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 21:47:25 | command: <data><node>node_9akdi00208</node><expire-at>2023-11-06T05:47:30Z</expire-at><entry><content>content_kq49k30212</content></entry></data>

2023-11-05 21:47:25 | target: http://localhost:8088

2023-11-05 21:47:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 21:47:25 | entity: <data><node>node_9akdi00208</node><expire-at>2023-11-06T05:47:30Z</expire-at><entry><content>content_kq49k30212</content></entry></data>

2023-11-05 21:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 05:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 21:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>136d0f78-264f-44a0-8319-c0538f127f2f</value></item-id></result>

2023-11-05 21:47:25 | contains: true

2023-11-05 21:47:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 21:47:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 21:47:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 21:47:34 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_kq49k30212]

2023-11-05 21:47:34 | [Mutex] waiting for: [user_regulardpwo0t0207@test-domain.com:message:received:content_kq49k30212]

2023-11-05 21:47:49 | [Mutex] timeout. Not received [user_regulardpwo0t0207@test-domain.com:message:received:content_kq49k30212]

2023-11-05 21:47:49 | [Mutex] received everything.

2023-11-05 21:47:49 | [Mutex] isItemNotified: user_regulardpwo0t0207@test-domain.com:message:received:content_kq49k30212 :: false

2023-11-05 21:47:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kq49k30212 :: true