Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 14 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (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.707s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.593s
2023-03-14 23:01:27 |

2023-03-14 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-14 23:01:27 | ------------------------------------

2023-03-14 23:01:27 | [Mutex] isItemNotified: node_74w2z60208:exists :: false

2023-03-14 23:01:27 | [Mutex] waiting for: [node_74w2z60208:create_node]

2023-03-14 23:01:27 | [Mutex] received everything.

2023-03-14 23:01:27 | [Mutex] isItemNotified: node_74w2z60208:create_node:success :: true

2023-03-14 23:01:27 | [Mutex] waiting for: [node_74w2z60208:subscribe_node]

2023-03-14 23:01:27 | [Mutex] waiting for: [node_74w2z60208:subscribe_node]

2023-03-14 23:01:27 | [Mutex] received everything.

2023-03-14 23:01:27 | [Mutex] isItemNotified: node_74w2z60208:subscribe_node:success :: true

2023-03-14 23:01:27 |


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


2023-03-14 23:01:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-14 23:01:27 | command: <data><node>node_74w2z60208</node><entry><content>content_phgkxp0209</content></entry></data>

2023-03-14 23:01:27 | target: http://localhost:8088

2023-03-14 23:01:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-14 23:01:27 | entity: <data><node>node_74w2z60208</node><entry><content>content_phgkxp0209</content></entry></data>

2023-03-14 23:01:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 06:01:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-14 23:01:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d700d815-03fc-45ab-9525-3d020c0e0587</value></item-id></result>

2023-03-14 23:01:27 | contains: true

2023-03-14 23:01:27 | [Mutex] waiting for: [user_regularrgiqce0207@test-domain.com:message:received:content_phgkxp0209]

2023-03-14 23:01:27 | [Mutex] received everything.

2023-03-14 23:01:27 | [Mutex] isItemNotified: user_regularrgiqce0207@test-domain.com:message:received:content_phgkxp0209 :: true

2023-03-14 23:01:27 |


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


2023-03-14 23:01:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-14 23:01:27 | command: <data><node>node_74w2z60208</node><expire-at>2023-03-15T06:01:22Z</expire-at><entry><content>content_f4a9160210</content></entry></data>

2023-03-14 23:01:27 | target: http://localhost:8088

2023-03-14 23:01:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-14 23:01:27 | entity: <data><node>node_74w2z60208</node><expire-at>2023-03-15T06:01:22Z</expire-at><entry><content>content_f4a9160210</content></entry></data>

2023-03-14 23:01:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 06:01:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-14 23:01:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>654fa94e-37bc-4ed2-9af2-22d0a9191cf7</value></item-id></result>

2023-03-14 23:01:27 | contains: true

2023-03-14 23:01:27 | [Mutex] waiting for: [user_regularrgiqce0207@test-domain.com:message:received:content_f4a9160210]

2023-03-14 23:01:42 | [Mutex] timeout. Not received [user_regularrgiqce0207@test-domain.com:message:received:content_f4a9160210]

2023-03-14 23:01:42 | [Mutex] isItemNotified: user_regularrgiqce0207@test-domain.com:message:received:content_f4a9160210 :: false

2023-03-14 23:01:42 |


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


2023-03-14 23:01:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-14 23:01:42 | command: <data><node>node_74w2z60208</node><entry><content>content_8yyaeb0211</content></entry></data>

2023-03-14 23:01:42 | target: http://localhost:8088

2023-03-14 23:01:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-14 23:01:42 | entity: <data><node>node_74w2z60208</node><entry><content>content_8yyaeb0211</content></entry></data>

2023-03-14 23:01:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 06:01:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-14 23:01:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4028087-4e7c-4d0c-88aa-cc8f75290597</value></item-id></result>

2023-03-14 23:01:43 | contains: true

2023-03-14 23:01:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-14 23:01:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-14 23:01:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-14 23:01:48 | [Mutex] waiting for: [user_regularrgiqce0207@test-domain.com:message:received:content_8yyaeb0211]

2023-03-14 23:01:48 | [Mutex] waiting for: [user_regularrgiqce0207@test-domain.com:message:received:content_8yyaeb0211]

2023-03-14 23:01:48 | [Mutex] received everything.

2023-03-14 23:01:48 | [Mutex] isItemNotified: user_regularrgiqce0207@test-domain.com:message:received:content_8yyaeb0211 :: true

2023-03-14 23:01:48 |


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


2023-03-14 23:01:48 | [Mutex] received everything.

2023-03-14 23:01:48 | [Mutex] isItemNotified: node_74w2z60208:subscribe_node:success :: true

2023-03-14 23:01:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-14 23:01:48 | command: <data><node>node_74w2z60208</node><expire-at>2023-03-15T06:01:53Z</expire-at><entry><content>content_x7bz3t0212</content></entry></data>

2023-03-14 23:01:48 | target: http://localhost:8088

2023-03-14 23:01:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-14 23:01:48 | entity: <data><node>node_74w2z60208</node><expire-at>2023-03-15T06:01:53Z</expire-at><entry><content>content_x7bz3t0212</content></entry></data>

2023-03-14 23:01:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 06:01:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-14 23:01:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a8be15a-62db-499d-8c44-b3741f0ef408</value></item-id></result>

2023-03-14 23:01:48 | contains: true

2023-03-14 23:01:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-14 23:01:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-14 23:01:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-14 23:01:56 | [Mutex] waiting for: [user_regularrgiqce0207@test-domain.com:message:received:content_x7bz3t0212]

2023-03-14 23:02:11 | [Mutex] timeout. Not received [user_regularrgiqce0207@test-domain.com:message:received:content_x7bz3t0212]

2023-03-14 23:02:11 | [Mutex] received everything.

2023-03-14 23:02:11 | [Mutex] isItemNotified: user_regularrgiqce0207@test-domain.com:message:received:content_x7bz3t0212 :: false

2023-03-14 23:02:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x7bz3t0212 :: true