Generated by TestNG with ReportNG at 22:45 PDT on Sunday 09 July 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.813s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.649s
2023-07-09 23:00:19 |

2023-07-09 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-09 23:00:19 | ------------------------------------

2023-07-09 23:00:19 | [Mutex] isItemNotified: node_ylllig0208:exists :: false

2023-07-09 23:00:19 | [Mutex] waiting for: [node_ylllig0208:create_node]

2023-07-09 23:00:19 | [Mutex] waiting for: [node_ylllig0208:create_node]

2023-07-09 23:00:19 | [Mutex] received everything.

2023-07-09 23:00:19 | [Mutex] isItemNotified: node_ylllig0208:create_node:success :: true

2023-07-09 23:00:19 | [Mutex] waiting for: [node_ylllig0208:subscribe_node]

2023-07-09 23:00:19 | [Mutex] waiting for: [node_ylllig0208:subscribe_node]

2023-07-09 23:00:19 | [Mutex] received everything.

2023-07-09 23:00:19 | [Mutex] isItemNotified: node_ylllig0208:subscribe_node:success :: true

2023-07-09 23:00:19 |


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


2023-07-09 23:00:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-09 23:00:19 | command: <data><node>node_ylllig0208</node><entry><content>content_ct1xrv0209</content></entry></data>

2023-07-09 23:00:19 | target: http://localhost:8088

2023-07-09 23:00:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-09 23:00:19 | entity: <data><node>node_ylllig0208</node><entry><content>content_ct1xrv0209</content></entry></data>

2023-07-09 23:00:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 06:00:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-09 23:00:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9133d7cb-07fa-4eeb-8bd1-7ec771d8b00e</value></item-id></result>

2023-07-09 23:00:19 | contains: true

2023-07-09 23:00:19 | [Mutex] received everything.

2023-07-09 23:00:19 | [Mutex] isItemNotified: user_regularot7jwu0207@test-domain.com:message:received:content_ct1xrv0209 :: true

2023-07-09 23:00:19 |


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


2023-07-09 23:00:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-09 23:00:19 | command: <data><node>node_ylllig0208</node><expire-at>2023-07-10T06:00:14Z</expire-at><entry><content>content_6af3um0210</content></entry></data>

2023-07-09 23:00:19 | target: http://localhost:8088

2023-07-09 23:00:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-09 23:00:19 | entity: <data><node>node_ylllig0208</node><expire-at>2023-07-10T06:00:14Z</expire-at><entry><content>content_6af3um0210</content></entry></data>

2023-07-09 23:00:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 06:00:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-09 23:00:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb321052-3bb4-4933-aa48-2135183dcbc2</value></item-id></result>

2023-07-09 23:00:19 | contains: true

2023-07-09 23:00:19 | [Mutex] waiting for: [user_regularot7jwu0207@test-domain.com:message:received:content_6af3um0210]

2023-07-09 23:00:34 | [Mutex] timeout. Not received [user_regularot7jwu0207@test-domain.com:message:received:content_6af3um0210]

2023-07-09 23:00:34 | [Mutex] isItemNotified: user_regularot7jwu0207@test-domain.com:message:received:content_6af3um0210 :: false

2023-07-09 23:00:34 |


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


2023-07-09 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-09 23:00:34 | command: <data><node>node_ylllig0208</node><entry><content>content_ibgztb0211</content></entry></data>

2023-07-09 23:00:34 | target: http://localhost:8088

2023-07-09 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-09 23:00:34 | entity: <data><node>node_ylllig0208</node><entry><content>content_ibgztb0211</content></entry></data>

2023-07-09 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-09 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46d16868-8333-418e-bd48-f6a19d953487</value></item-id></result>

2023-07-09 23:00:34 | contains: true

2023-07-09 23:00:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-09 23:00:40 | [Mutex] waiting for: [user_regularot7jwu0207@test-domain.com:message:received:content_ibgztb0211]

2023-07-09 23:00:40 | [Mutex] waiting for: [user_regularot7jwu0207@test-domain.com:message:received:content_ibgztb0211]

2023-07-09 23:00:40 | [Mutex] received everything.

2023-07-09 23:00:40 | [Mutex] isItemNotified: user_regularot7jwu0207@test-domain.com:message:received:content_ibgztb0211 :: true

2023-07-09 23:00:40 |


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


2023-07-09 23:00:40 | [Mutex] received everything.

2023-07-09 23:00:40 | [Mutex] isItemNotified: node_ylllig0208:subscribe_node:success :: true

2023-07-09 23:00:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-09 23:00:40 | command: <data><node>node_ylllig0208</node><expire-at>2023-07-10T06:00:45Z</expire-at><entry><content>content_7l43we0212</content></entry></data>

2023-07-09 23:00:40 | target: http://localhost:8088

2023-07-09 23:00:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-09 23:00:40 | entity: <data><node>node_ylllig0208</node><expire-at>2023-07-10T06:00:45Z</expire-at><entry><content>content_7l43we0212</content></entry></data>

2023-07-09 23:00:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 06:00:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-09 23:00:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21bf858f-973a-49d9-ac0b-3a06d1d95a28</value></item-id></result>

2023-07-09 23:00:40 | contains: true

2023-07-09 23:00:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-09 23:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-09 23:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-09 23:00:48 | [Mutex] waiting for: [user_regularot7jwu0207@test-domain.com:message:received:content_7l43we0212]

2023-07-09 23:00:48 | [Mutex] waiting for: [user_regularot7jwu0207@test-domain.com:message:received:content_7l43we0212]

2023-07-09 23:01:03 | [Mutex] timeout. Not received [user_regularot7jwu0207@test-domain.com:message:received:content_7l43we0212]

2023-07-09 23:01:03 | [Mutex] received everything.

2023-07-09 23:01:03 | [Mutex] isItemNotified: user_regularot7jwu0207@test-domain.com:message:received:content_7l43we0212 :: false

2023-07-09 23:01:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7l43we0212 :: true