Generated by TestNG with ReportNG at 22:47 PDT on Monday 03 April 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.657s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.634s
2023-04-03 23:02:25 |

2023-04-03 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-04-03 23:02:25 | ------------------------------------

2023-04-03 23:02:25 | [Mutex] isItemNotified: node_hba36u0208:exists :: false

2023-04-03 23:02:25 | [Mutex] waiting for: [node_hba36u0208:create_node]

2023-04-03 23:02:25 | [Mutex] received everything.

2023-04-03 23:02:25 | [Mutex] isItemNotified: node_hba36u0208:create_node:success :: true

2023-04-03 23:02:25 | [Mutex] waiting for: [node_hba36u0208:subscribe_node]

2023-04-03 23:02:25 | [Mutex] waiting for: [node_hba36u0208:subscribe_node]

2023-04-03 23:02:25 | [Mutex] received everything.

2023-04-03 23:02:25 | [Mutex] isItemNotified: node_hba36u0208:subscribe_node:success :: true

2023-04-03 23:02:25 |


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


2023-04-03 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 23:02:25 | command: <data><node>node_hba36u0208</node><entry><content>content_g3npyi0209</content></entry></data>

2023-04-03 23:02:25 | target: http://localhost:8088

2023-04-03 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-04-03 23:02:25 | entity: <data><node>node_hba36u0208</node><entry><content>content_g3npyi0209</content></entry></data>

2023-04-03 23:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53f8c0ce-5c6c-4650-837d-756c8f9aa195</value></item-id></result>

2023-04-03 23:02:25 | contains: true

2023-04-03 23:02:25 | [Mutex] waiting for: [user_regulareva0tg0207@test-domain.com:message:received:content_g3npyi0209]

2023-04-03 23:02:25 | [Mutex] received everything.

2023-04-03 23:02:25 | [Mutex] isItemNotified: user_regulareva0tg0207@test-domain.com:message:received:content_g3npyi0209 :: true

2023-04-03 23:02:25 |


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


2023-04-03 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 23:02:25 | command: <data><node>node_hba36u0208</node><expire-at>2023-04-04T06:02:20Z</expire-at><entry><content>content_cc4wkk0210</content></entry></data>

2023-04-03 23:02:25 | target: http://localhost:8088

2023-04-03 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-04-03 23:02:25 | entity: <data><node>node_hba36u0208</node><expire-at>2023-04-04T06:02:20Z</expire-at><entry><content>content_cc4wkk0210</content></entry></data>

2023-04-03 23:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ca997593-a544-4411-97a2-8e1e6f25224c</value></item-id></result>

2023-04-03 23:02:25 | contains: true

2023-04-03 23:02:25 | [Mutex] waiting for: [user_regulareva0tg0207@test-domain.com:message:received:content_cc4wkk0210]

2023-04-03 23:02:40 | [Mutex] timeout. Not received [user_regulareva0tg0207@test-domain.com:message:received:content_cc4wkk0210]

2023-04-03 23:02:40 | [Mutex] isItemNotified: user_regulareva0tg0207@test-domain.com:message:received:content_cc4wkk0210 :: false

2023-04-03 23:02:40 |


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


2023-04-03 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 23:02:40 | command: <data><node>node_hba36u0208</node><entry><content>content_aw47dm0211</content></entry></data>

2023-04-03 23:02:40 | target: http://localhost:8088

2023-04-03 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-04-03 23:02:40 | entity: <data><node>node_hba36u0208</node><entry><content>content_aw47dm0211</content></entry></data>

2023-04-03 23:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2943e910-49a8-4b05-8dce-8021bbd7aa23</value></item-id></result>

2023-04-03 23:02:40 | contains: true

2023-04-03 23:02:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-04-03 23:02:45 | [Mutex] waiting for: [user_regulareva0tg0207@test-domain.com:message:received:content_aw47dm0211]

2023-04-03 23:02:45 | [Mutex] waiting for: [user_regulareva0tg0207@test-domain.com:message:received:content_aw47dm0211]

2023-04-03 23:02:45 | [Mutex] received everything.

2023-04-03 23:02:45 | [Mutex] isItemNotified: user_regulareva0tg0207@test-domain.com:message:received:content_aw47dm0211 :: true

2023-04-03 23:02:45 |


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


2023-04-03 23:02:45 | [Mutex] received everything.

2023-04-03 23:02:45 | [Mutex] isItemNotified: node_hba36u0208:subscribe_node:success :: true

2023-04-03 23:02:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 23:02:45 | command: <data><node>node_hba36u0208</node><expire-at>2023-04-04T06:02:50Z</expire-at><entry><content>content_ggdn6p0212</content></entry></data>

2023-04-03 23:02:45 | target: http://localhost:8088

2023-04-03 23:02:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-04-03 23:02:45 | entity: <data><node>node_hba36u0208</node><expire-at>2023-04-04T06:02:50Z</expire-at><entry><content>content_ggdn6p0212</content></entry></data>

2023-04-03 23:02:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:02:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 23:02:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3b9d8a08-8256-47ce-ae88-58983222c784</value></item-id></result>

2023-04-03 23:02:45 | contains: true

2023-04-03 23:02:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-04-03 23:02:53 | [Mutex] waiting for: [user_regulareva0tg0207@test-domain.com:message:received:content_ggdn6p0212]

2023-04-03 23:03:08 | [Mutex] timeout. Not received [user_regulareva0tg0207@test-domain.com:message:received:content_ggdn6p0212]

2023-04-03 23:03:08 | [Mutex] received everything.

2023-04-03 23:03:08 | [Mutex] isItemNotified: user_regulareva0tg0207@test-domain.com:message:received:content_ggdn6p0212 :: false

2023-04-03 23:03:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ggdn6p0212 :: true