Generated by TestNG with ReportNG at 22:15 PDT on Monday 27 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.575s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.692s
2023-03-27 22:30:19 |

2023-03-27 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-27 22:30:19 | ------------------------------------

2023-03-27 22:30:19 | [Mutex] isItemNotified: node_18wz960208:exists :: false

2023-03-27 22:30:19 | [Mutex] waiting for: [node_18wz960208:create_node]

2023-03-27 22:30:19 | [Mutex] received everything.

2023-03-27 22:30:19 | [Mutex] isItemNotified: node_18wz960208:create_node:success :: true

2023-03-27 22:30:19 | [Mutex] waiting for: [node_18wz960208:subscribe_node]

2023-03-27 22:30:19 | [Mutex] waiting for: [node_18wz960208:subscribe_node]

2023-03-27 22:30:19 | [Mutex] received everything.

2023-03-27 22:30:19 | [Mutex] isItemNotified: node_18wz960208:subscribe_node:success :: true

2023-03-27 22:30:19 |


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


2023-03-27 22:30:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 22:30:19 | command: <data><node>node_18wz960208</node><entry><content>content_ucju150209</content></entry></data>

2023-03-27 22:30:19 | target: http://localhost:8088

2023-03-27 22:30:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-27 22:30:19 | entity: <data><node>node_18wz960208</node><entry><content>content_ucju150209</content></entry></data>

2023-03-27 22:30:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 22:30:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>774f68af-3295-4728-8c23-2e140f9d1dfd</value></item-id></result>

2023-03-27 22:30:19 | contains: true

2023-03-27 22:30:19 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_ucju150209]

2023-03-27 22:30:19 | [Mutex] received everything.

2023-03-27 22:30:19 | [Mutex] isItemNotified: user_regularqsnisj0207@test-domain.com:message:received:content_ucju150209 :: true

2023-03-27 22:30:19 |


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


2023-03-27 22:30:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 22:30:19 | command: <data><node>node_18wz960208</node><expire-at>2023-03-28T05:30:14Z</expire-at><entry><content>content_d5j1pg0210</content></entry></data>

2023-03-27 22:30:19 | target: http://localhost:8088

2023-03-27 22:30:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-27 22:30:19 | entity: <data><node>node_18wz960208</node><expire-at>2023-03-28T05:30:14Z</expire-at><entry><content>content_d5j1pg0210</content></entry></data>

2023-03-27 22:30:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 22:30:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29416d04-fdb5-40c3-9691-1561faba718f</value></item-id></result>

2023-03-27 22:30:19 | contains: true

2023-03-27 22:30:19 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_d5j1pg0210]

2023-03-27 22:30:34 | [Mutex] timeout. Not received [user_regularqsnisj0207@test-domain.com:message:received:content_d5j1pg0210]

2023-03-27 22:30:34 | [Mutex] isItemNotified: user_regularqsnisj0207@test-domain.com:message:received:content_d5j1pg0210 :: false

2023-03-27 22:30:34 |


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


2023-03-27 22:30:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 22:30:34 | command: <data><node>node_18wz960208</node><entry><content>content_midam0211</content></entry></data>

2023-03-27 22:30:34 | target: http://localhost:8088

2023-03-27 22:30:34 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-03-27 22:30:34 | entity: <data><node>node_18wz960208</node><entry><content>content_midam0211</content></entry></data>

2023-03-27 22:30:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 22:30:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8113809-dce0-4e42-9504-47febddb2281</value></item-id></result>

2023-03-27 22:30:34 | contains: true

2023-03-27 22:30:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-27 22:30:39 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_midam0211]

2023-03-27 22:30:39 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_midam0211]

2023-03-27 22:30:39 | [Mutex] received everything.

2023-03-27 22:30:39 | [Mutex] isItemNotified: user_regularqsnisj0207@test-domain.com:message:received:content_midam0211 :: true

2023-03-27 22:30:39 |


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


2023-03-27 22:30:39 | [Mutex] received everything.

2023-03-27 22:30:39 | [Mutex] isItemNotified: node_18wz960208:subscribe_node:success :: true

2023-03-27 22:30:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 22:30:39 | command: <data><node>node_18wz960208</node><expire-at>2023-03-28T05:30:44Z</expire-at><entry><content>content_m1gjvm0212</content></entry></data>

2023-03-27 22:30:39 | target: http://localhost:8088

2023-03-27 22:30:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-27 22:30:39 | entity: <data><node>node_18wz960208</node><expire-at>2023-03-28T05:30:44Z</expire-at><entry><content>content_m1gjvm0212</content></entry></data>

2023-03-27 22:30:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 22:30:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a26b8cd2-5cd8-4a28-b58f-d8aa9244cbbc</value></item-id></result>

2023-03-27 22:30:39 | contains: true

2023-03-27 22:30:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-27 22:30:47 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_m1gjvm0212]

2023-03-27 22:30:47 | [Mutex] waiting for: [user_regularqsnisj0207@test-domain.com:message:received:content_m1gjvm0212]

2023-03-27 22:31:02 | [Mutex] timeout. Not received [user_regularqsnisj0207@test-domain.com:message:received:content_m1gjvm0212]

2023-03-27 22:31:02 | [Mutex] received everything.

2023-03-27 22:31:02 | [Mutex] isItemNotified: user_regularqsnisj0207@test-domain.com:message:received:content_m1gjvm0212 :: false

2023-03-27 22:31:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m1gjvm0212 :: true