Generated by TestNG with ReportNG at 23:13 PDT on Saturday 04 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.684s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.595s
2023-11-04 23:28:19 |

2023-11-04 23:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-04 23:28:19 | ------------------------------------

2023-11-04 23:28:19 | [Mutex] isItemNotified: node_f5hn410208:exists :: false

2023-11-04 23:28:19 | [Mutex] waiting for: [node_f5hn410208:create_node]

2023-11-04 23:28:19 | [Mutex] waiting for: [node_f5hn410208:create_node]

2023-11-04 23:28:19 | [Mutex] received everything.

2023-11-04 23:28:19 | [Mutex] isItemNotified: node_f5hn410208:create_node:success :: true

2023-11-04 23:28:19 | [Mutex] waiting for: [node_f5hn410208:subscribe_node]

2023-11-04 23:28:19 | [Mutex] waiting for: [node_f5hn410208:subscribe_node]

2023-11-04 23:28:19 | [Mutex] received everything.

2023-11-04 23:28:19 | [Mutex] isItemNotified: node_f5hn410208:subscribe_node:success :: true

2023-11-04 23:28:19 |


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


2023-11-04 23:28:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-04 23:28:19 | command: <data><node>node_f5hn410208</node><entry><content>content_28s4sh0209</content></entry></data>

2023-11-04 23:28:19 | target: http://localhost:8088

2023-11-04 23:28:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-04 23:28:19 | entity: <data><node>node_f5hn410208</node><entry><content>content_28s4sh0209</content></entry></data>

2023-11-04 23:28:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:28:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 23:28:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e4181455-80c1-4923-91fc-15a5c9e28f0d</value></item-id></result>

2023-11-04 23:28:19 | contains: true

2023-11-04 23:28:19 | [Mutex] received everything.

2023-11-04 23:28:19 | [Mutex] isItemNotified: user_regular6uvr1z0207@test-domain.com:message:received:content_28s4sh0209 :: true

2023-11-04 23:28:19 |


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


2023-11-04 23:28:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-04 23:28:19 | command: <data><node>node_f5hn410208</node><expire-at>2023-11-05T06:28:14Z</expire-at><entry><content>content_ja8u8k0210</content></entry></data>

2023-11-04 23:28:19 | target: http://localhost:8088

2023-11-04 23:28:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-04 23:28:19 | entity: <data><node>node_f5hn410208</node><expire-at>2023-11-05T06:28:14Z</expire-at><entry><content>content_ja8u8k0210</content></entry></data>

2023-11-04 23:28:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:28:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 23:28:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12b46ecd-7718-43f5-8fbc-9b2de839fc89</value></item-id></result>

2023-11-04 23:28:19 | contains: true

2023-11-04 23:28:19 | [Mutex] waiting for: [user_regular6uvr1z0207@test-domain.com:message:received:content_ja8u8k0210]

2023-11-04 23:28:34 | [Mutex] timeout. Not received [user_regular6uvr1z0207@test-domain.com:message:received:content_ja8u8k0210]

2023-11-04 23:28:34 | [Mutex] isItemNotified: user_regular6uvr1z0207@test-domain.com:message:received:content_ja8u8k0210 :: false

2023-11-04 23:28:34 |


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


2023-11-04 23:28:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-04 23:28:34 | command: <data><node>node_f5hn410208</node><entry><content>content_ecu71o0211</content></entry></data>

2023-11-04 23:28:34 | target: http://localhost:8088

2023-11-04 23:28:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-04 23:28:34 | entity: <data><node>node_f5hn410208</node><entry><content>content_ecu71o0211</content></entry></data>

2023-11-04 23:28:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:28:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 23:28:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61385a7f-e801-4e3c-9e3d-12833c74539e</value></item-id></result>

2023-11-04 23:28:34 | contains: true

2023-11-04 23:28:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-04 23:28:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-11-04 23:28:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-04 23:28:39 | [Mutex] waiting for: [user_regular6uvr1z0207@test-domain.com:message:received:content_ecu71o0211]

2023-11-04 23:28:39 | [Mutex] received everything.

2023-11-04 23:28:39 | [Mutex] isItemNotified: user_regular6uvr1z0207@test-domain.com:message:received:content_ecu71o0211 :: true

2023-11-04 23:28:39 |


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


2023-11-04 23:28:39 | [Mutex] received everything.

2023-11-04 23:28:39 | [Mutex] isItemNotified: node_f5hn410208:subscribe_node:success :: true

2023-11-04 23:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-04 23:28:39 | command: <data><node>node_f5hn410208</node><expire-at>2023-11-05T06:28:44Z</expire-at><entry><content>content_pfvs140212</content></entry></data>

2023-11-04 23:28:39 | target: http://localhost:8088

2023-11-04 23:28:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-04 23:28:39 | entity: <data><node>node_f5hn410208</node><expire-at>2023-11-05T06:28:44Z</expire-at><entry><content>content_pfvs140212</content></entry></data>

2023-11-04 23:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 23:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c0b02e6-ec62-40ec-9fe8-287fac597447</value></item-id></result>

2023-11-04 23:28:39 | contains: true

2023-11-04 23:28:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-11-04 23:28:47 | [Mutex] waiting for: [user_regular6uvr1z0207@test-domain.com:message:received:content_pfvs140212]

2023-11-04 23:28:47 | [Mutex] waiting for: [user_regular6uvr1z0207@test-domain.com:message:received:content_pfvs140212]

2023-11-04 23:29:02 | [Mutex] timeout. Not received [user_regular6uvr1z0207@test-domain.com:message:received:content_pfvs140212]

2023-11-04 23:29:02 | [Mutex] received everything.

2023-11-04 23:29:02 | [Mutex] isItemNotified: user_regular6uvr1z0207@test-domain.com:message:received:content_pfvs140212 :: false

2023-11-04 23:29:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pfvs140212 :: true