Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 11 July 2023
root@1512af24e4a5 / 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.790s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.632s
2023-07-11 23:00:35 |

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

2023-07-11 23:00:35 | ------------------------------------

2023-07-11 23:00:35 | [Mutex] isItemNotified: node_nls2420208:exists :: false

2023-07-11 23:00:35 | [Mutex] waiting for: [node_nls2420208:create_node]

2023-07-11 23:00:35 | [Mutex] received everything.

2023-07-11 23:00:35 | [Mutex] isItemNotified: node_nls2420208:create_node:success :: true

2023-07-11 23:00:35 | [Mutex] waiting for: [node_nls2420208:subscribe_node]

2023-07-11 23:00:35 | [Mutex] received everything.

2023-07-11 23:00:35 | [Mutex] isItemNotified: node_nls2420208:subscribe_node:success :: true

2023-07-11 23:00:35 |


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


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

2023-07-11 23:00:35 | command: <data><node>node_nls2420208</node><entry><content>content_bitrzz0209</content></entry></data>

2023-07-11 23:00:35 | target: http://localhost:8088

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

2023-07-11 23:00:35 | entity: <data><node>node_nls2420208</node><entry><content>content_bitrzz0209</content></entry></data>

2023-07-11 23:00:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:00:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:00:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba1836b4-b787-4fba-91f1-f6d308808b86</value></item-id></result>

2023-07-11 23:00:35 | contains: true

2023-07-11 23:00:35 | [Mutex] waiting for: [user_regularj3ppfe0207@test-domain.com:message:received:content_bitrzz0209]

2023-07-11 23:00:35 | [Mutex] received everything.

2023-07-11 23:00:35 | [Mutex] isItemNotified: user_regularj3ppfe0207@test-domain.com:message:received:content_bitrzz0209 :: true

2023-07-11 23:00:35 |


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


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

2023-07-11 23:00:35 | command: <data><node>node_nls2420208</node><expire-at>2023-07-12T06:00:30Z</expire-at><entry><content>content_lkv59y0210</content></entry></data>

2023-07-11 23:00:35 | target: http://localhost:8088

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

2023-07-11 23:00:35 | entity: <data><node>node_nls2420208</node><expire-at>2023-07-12T06:00:30Z</expire-at><entry><content>content_lkv59y0210</content></entry></data>

2023-07-11 23:00:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:00:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:00:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8932dfcf-21ba-442a-8149-33705d76ea7c</value></item-id></result>

2023-07-11 23:00:35 | contains: true

2023-07-11 23:00:35 | [Mutex] waiting for: [user_regularj3ppfe0207@test-domain.com:message:received:content_lkv59y0210]

2023-07-11 23:00:50 | [Mutex] timeout. Not received [user_regularj3ppfe0207@test-domain.com:message:received:content_lkv59y0210]

2023-07-11 23:00:50 | [Mutex] isItemNotified: user_regularj3ppfe0207@test-domain.com:message:received:content_lkv59y0210 :: false

2023-07-11 23:00:50 |


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


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

2023-07-11 23:00:50 | command: <data><node>node_nls2420208</node><entry><content>content_j3uusm0211</content></entry></data>

2023-07-11 23:00:50 | target: http://localhost:8088

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

2023-07-11 23:00:50 | entity: <data><node>node_nls2420208</node><entry><content>content_j3uusm0211</content></entry></data>

2023-07-11 23:00:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:00:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:00:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9079a2b2-91e6-4b45-b2a1-0a913699b49b</value></item-id></result>

2023-07-11 23:00:50 | contains: true

2023-07-11 23:00:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-11 23:00:56 | [Mutex] waiting for: [user_regularj3ppfe0207@test-domain.com:message:received:content_j3uusm0211]

2023-07-11 23:00:56 | [Mutex] received everything.

2023-07-11 23:00:56 | [Mutex] isItemNotified: user_regularj3ppfe0207@test-domain.com:message:received:content_j3uusm0211 :: true

2023-07-11 23:00:56 |


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


2023-07-11 23:00:56 | [Mutex] received everything.

2023-07-11 23:00:56 | [Mutex] isItemNotified: node_nls2420208:subscribe_node:success :: true

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

2023-07-11 23:00:56 | command: <data><node>node_nls2420208</node><expire-at>2023-07-12T06:01:01Z</expire-at><entry><content>content_ema08n0212</content></entry></data>

2023-07-11 23:00:56 | target: http://localhost:8088

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

2023-07-11 23:00:56 | entity: <data><node>node_nls2420208</node><expire-at>2023-07-12T06:01:01Z</expire-at><entry><content>content_ema08n0212</content></entry></data>

2023-07-11 23:00:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:00:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:00:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6c089270-320c-4d31-a1b4-3b8527032ad7</value></item-id></result>

2023-07-11 23:00:56 | contains: true

2023-07-11 23:01:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-11 23:01:04 | [Mutex] waiting for: [user_regularj3ppfe0207@test-domain.com:message:received:content_ema08n0212]

2023-07-11 23:01:04 | [Mutex] waiting for: [user_regularj3ppfe0207@test-domain.com:message:received:content_ema08n0212]

2023-07-11 23:01:19 | [Mutex] timeout. Not received [user_regularj3ppfe0207@test-domain.com:message:received:content_ema08n0212]

2023-07-11 23:01:19 | [Mutex] received everything.

2023-07-11 23:01:19 | [Mutex] isItemNotified: user_regularj3ppfe0207@test-domain.com:message:received:content_ema08n0212 :: false

2023-07-11 23:01:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ema08n0212 :: true