Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 11 July 2023
root@8f5c98824654 / Java 17.0.6 (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.690s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.588s
2023-07-11 22:45:19 |

2023-07-11 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-11 22:45:19 | ------------------------------------

2023-07-11 22:45:19 | [Mutex] isItemNotified: node_1myizk0208:exists :: false

2023-07-11 22:45:19 | [Mutex] waiting for: [node_1myizk0208:create_node]

2023-07-11 22:45:19 | [Mutex] waiting for: [node_1myizk0208:create_node]

2023-07-11 22:45:19 | [Mutex] received everything.

2023-07-11 22:45:19 | [Mutex] isItemNotified: node_1myizk0208:create_node:success :: true

2023-07-11 22:45:19 | [Mutex] waiting for: [node_1myizk0208:subscribe_node]

2023-07-11 22:45:19 | [Mutex] waiting for: [node_1myizk0208:subscribe_node]

2023-07-11 22:45:19 | [Mutex] received everything.

2023-07-11 22:45:19 | [Mutex] isItemNotified: node_1myizk0208:subscribe_node:success :: true

2023-07-11 22:45:19 |


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


2023-07-11 22:45:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:45:19 | command: <data><node>node_1myizk0208</node><entry><content>content_3m32z30209</content></entry></data>

2023-07-11 22:45:19 | target: http://localhost:8088

2023-07-11 22:45:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 22:45:19 | entity: <data><node>node_1myizk0208</node><entry><content>content_3m32z30209</content></entry></data>

2023-07-11 22:45:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:45:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:45:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d27a867-000c-4ed0-aa79-abbbe12c2385</value></item-id></result>

2023-07-11 22:45:19 | contains: true

2023-07-11 22:45:19 | [Mutex] received everything.

2023-07-11 22:45:19 | [Mutex] isItemNotified: user_regularroto900207@test-domain.com:message:received:content_3m32z30209 :: true

2023-07-11 22:45:19 |


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


2023-07-11 22:45:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:45:19 | command: <data><node>node_1myizk0208</node><expire-at>2023-07-12T05:45:14Z</expire-at><entry><content>content_kwje2j0210</content></entry></data>

2023-07-11 22:45:19 | target: http://localhost:8088

2023-07-11 22:45:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 22:45:19 | entity: <data><node>node_1myizk0208</node><expire-at>2023-07-12T05:45:14Z</expire-at><entry><content>content_kwje2j0210</content></entry></data>

2023-07-11 22:45:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:45:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:45:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a9cd76d3-d910-4448-8d87-44f6dec780ee</value></item-id></result>

2023-07-11 22:45:19 | contains: true

2023-07-11 22:45:19 | [Mutex] waiting for: [user_regularroto900207@test-domain.com:message:received:content_kwje2j0210]

2023-07-11 22:45:34 | [Mutex] timeout. Not received [user_regularroto900207@test-domain.com:message:received:content_kwje2j0210]

2023-07-11 22:45:34 | [Mutex] isItemNotified: user_regularroto900207@test-domain.com:message:received:content_kwje2j0210 :: false

2023-07-11 22:45:34 |


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


2023-07-11 22:45:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:45:34 | command: <data><node>node_1myizk0208</node><entry><content>content_sx6xnr0211</content></entry></data>

2023-07-11 22:45:34 | target: http://localhost:8088

2023-07-11 22:45:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 22:45:34 | entity: <data><node>node_1myizk0208</node><entry><content>content_sx6xnr0211</content></entry></data>

2023-07-11 22:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:45:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:45:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2d3f9a8-f27d-4f04-ae54-688dcf034598</value></item-id></result>

2023-07-11 22:45:34 | contains: true

2023-07-11 22:45:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-11 22:45:39 | [Mutex] waiting for: [user_regularroto900207@test-domain.com:message:received:content_sx6xnr0211]

2023-07-11 22:45:39 | [Mutex] waiting for: [user_regularroto900207@test-domain.com:message:received:content_sx6xnr0211]

2023-07-11 22:45:39 | [Mutex] received everything.

2023-07-11 22:45:39 | [Mutex] isItemNotified: user_regularroto900207@test-domain.com:message:received:content_sx6xnr0211 :: true

2023-07-11 22:45:39 |


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


2023-07-11 22:45:39 | [Mutex] received everything.

2023-07-11 22:45:39 | [Mutex] isItemNotified: node_1myizk0208:subscribe_node:success :: true

2023-07-11 22:45:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:45:39 | command: <data><node>node_1myizk0208</node><expire-at>2023-07-12T05:45:44Z</expire-at><entry><content>content_kkkx5y0212</content></entry></data>

2023-07-11 22:45:39 | target: http://localhost:8088

2023-07-11 22:45:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 22:45:39 | entity: <data><node>node_1myizk0208</node><expire-at>2023-07-12T05:45:44Z</expire-at><entry><content>content_kkkx5y0212</content></entry></data>

2023-07-11 22:45:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:45:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:45:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8dd72f22-9519-4954-9c63-6164b2f868b8</value></item-id></result>

2023-07-11 22:45:39 | contains: true

2023-07-11 22:45:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-11 22:45:47 | [Mutex] waiting for: [user_regularroto900207@test-domain.com:message:received:content_kkkx5y0212]

2023-07-11 22:46:02 | [Mutex] timeout. Not received [user_regularroto900207@test-domain.com:message:received:content_kkkx5y0212]

2023-07-11 22:46:02 | [Mutex] received everything.

2023-07-11 22:46:02 | [Mutex] isItemNotified: user_regularroto900207@test-domain.com:message:received:content_kkkx5y0212 :: false

2023-07-11 22:46:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kkkx5y0212 :: true