Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 24 May 2023
root@cc7d7fbb25f7 / 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.780s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.694s
2023-05-24 22:31:16 |

2023-05-24 22:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-24 22:31:16 | ------------------------------------

2023-05-24 22:31:16 | [Mutex] isItemNotified: node_5dldcr0208:exists :: false

2023-05-24 22:31:16 | [Mutex] waiting for: [node_5dldcr0208:create_node]

2023-05-24 22:31:16 | [Mutex] received everything.

2023-05-24 22:31:16 | [Mutex] isItemNotified: node_5dldcr0208:create_node:success :: true

2023-05-24 22:31:16 | [Mutex] waiting for: [node_5dldcr0208:subscribe_node]

2023-05-24 22:31:16 | [Mutex] waiting for: [node_5dldcr0208:subscribe_node]

2023-05-24 22:31:16 | [Mutex] received everything.

2023-05-24 22:31:16 | [Mutex] isItemNotified: node_5dldcr0208:subscribe_node:success :: true

2023-05-24 22:31:16 |


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


2023-05-24 22:31:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:16 | command: <data><node>node_5dldcr0208</node><entry><content>content_1xni2k0209</content></entry></data>

2023-05-24 22:31:16 | target: http://localhost:8088

2023-05-24 22:31:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:31:16 | entity: <data><node>node_5dldcr0208</node><entry><content>content_1xni2k0209</content></entry></data>

2023-05-24 22:31:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bc967c12-64e4-4f72-b16e-e841dec5088b</value></item-id></result>

2023-05-24 22:31:16 | contains: true

2023-05-24 22:31:16 | [Mutex] received everything.

2023-05-24 22:31:16 | [Mutex] isItemNotified: user_regularuf0x5b0207@test-domain.com:message:received:content_1xni2k0209 :: true

2023-05-24 22:31:16 |


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


2023-05-24 22:31:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:16 | command: <data><node>node_5dldcr0208</node><expire-at>2023-05-25T05:31:11Z</expire-at><entry><content>content_87aba50210</content></entry></data>

2023-05-24 22:31:16 | target: http://localhost:8088

2023-05-24 22:31:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 22:31:16 | entity: <data><node>node_5dldcr0208</node><expire-at>2023-05-25T05:31:11Z</expire-at><entry><content>content_87aba50210</content></entry></data>

2023-05-24 22:31:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2541e9b6-3c0c-481f-8829-5bde3bc2541e</value></item-id></result>

2023-05-24 22:31:16 | contains: true

2023-05-24 22:31:16 | [Mutex] waiting for: [user_regularuf0x5b0207@test-domain.com:message:received:content_87aba50210]

2023-05-24 22:31:31 | [Mutex] timeout. Not received [user_regularuf0x5b0207@test-domain.com:message:received:content_87aba50210]

2023-05-24 22:31:31 | [Mutex] isItemNotified: user_regularuf0x5b0207@test-domain.com:message:received:content_87aba50210 :: false

2023-05-24 22:31:31 |


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


2023-05-24 22:31:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:31 | command: <data><node>node_5dldcr0208</node><entry><content>content_g9j3ge0211</content></entry></data>

2023-05-24 22:31:31 | target: http://localhost:8088

2023-05-24 22:31:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:31:31 | entity: <data><node>node_5dldcr0208</node><entry><content>content_g9j3ge0211</content></entry></data>

2023-05-24 22:31:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f0ef6aea-f908-44ba-bfb6-c71ef0ae152a</value></item-id></result>

2023-05-24 22:31:31 | contains: true

2023-05-24 22:31:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 22:31:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 22:31:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 22:31:36 | [Mutex] waiting for: [user_regularuf0x5b0207@test-domain.com:message:received:content_g9j3ge0211]

2023-05-24 22:31:36 | [Mutex] waiting for: [user_regularuf0x5b0207@test-domain.com:message:received:content_g9j3ge0211]

2023-05-24 22:31:36 | [Mutex] received everything.

2023-05-24 22:31:36 | [Mutex] isItemNotified: user_regularuf0x5b0207@test-domain.com:message:received:content_g9j3ge0211 :: true

2023-05-24 22:31:36 |


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


2023-05-24 22:31:36 | [Mutex] received everything.

2023-05-24 22:31:36 | [Mutex] isItemNotified: node_5dldcr0208:subscribe_node:success :: true

2023-05-24 22:31:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:31:37 | command: <data><node>node_5dldcr0208</node><expire-at>2023-05-25T05:31:42Z</expire-at><entry><content>content_rnwel0212</content></entry></data>

2023-05-24 22:31:37 | target: http://localhost:8088

2023-05-24 22:31:37 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-05-24 22:31:37 | entity: <data><node>node_5dldcr0208</node><expire-at>2023-05-25T05:31:42Z</expire-at><entry><content>content_rnwel0212</content></entry></data>

2023-05-24 22:31:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:31:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:31:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f6feb18-d5eb-4dd9-ad64-ce04cbf80504</value></item-id></result>

2023-05-24 22:31:37 | contains: true

2023-05-24 22:31:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-24 22:31:45 | [Mutex] waiting for: [user_regularuf0x5b0207@test-domain.com:message:received:content_rnwel0212]

2023-05-24 22:32:00 | [Mutex] timeout. Not received [user_regularuf0x5b0207@test-domain.com:message:received:content_rnwel0212]

2023-05-24 22:32:00 | [Mutex] received everything.

2023-05-24 22:32:00 | [Mutex] isItemNotified: user_regularuf0x5b0207@test-domain.com:message:received:content_rnwel0212 :: false

2023-05-24 22:32:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rnwel0212 :: true