Generated by TestNG with ReportNG at 22:19 PDT on Thursday 24 March 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.158s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.664s
2022-03-24 22:33:10 |

2022-03-24 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-24 22:33:10 | ------------------------------------

2022-03-24 22:33:10 | [Mutex] isItemNotified: node_4sgosd0202:exists :: false

2022-03-24 22:33:10 | [Mutex] waiting for: [node_4sgosd0202:create_node]

2022-03-24 22:33:10 | [Mutex] received everything.

2022-03-24 22:33:10 | [Mutex] isItemNotified: node_4sgosd0202:create_node:success :: true

2022-03-24 22:33:10 | [Mutex] waiting for: [node_4sgosd0202:subscribe_node]

2022-03-24 22:33:10 | [Mutex] waiting for: [node_4sgosd0202:subscribe_node]

2022-03-24 22:33:10 | [Mutex] received everything.

2022-03-24 22:33:10 | [Mutex] isItemNotified: node_4sgosd0202:subscribe_node:success :: true

2022-03-24 22:33:10 |


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


2022-03-24 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 22:33:10 | command: <data><node>node_4sgosd0202</node><entry><content>content_pulipt0203</content></entry></data>

2022-03-24 22:33:10 | target: http://localhost:8088

2022-03-24 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-24 22:33:10 | entity: <data><node>node_4sgosd0202</node><entry><content>content_pulipt0203</content></entry></data>

2022-03-24 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>04d82ef0-3a0f-4482-a82a-9fa820d11143</value></item-id></result>

2022-03-24 22:33:10 | contains: true

2022-03-24 22:33:10 | [Mutex] received everything.

2022-03-24 22:33:10 | [Mutex] isItemNotified: user_regularwc0rxg0201@test-domain.com:message:received:content_pulipt0203 :: true

2022-03-24 22:33:10 |


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


2022-03-24 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 22:33:10 | command: <data><node>node_4sgosd0202</node><expire-at>2022-03-25T05:33:05Z</expire-at><entry><content>content_bsjcn40204</content></entry></data>

2022-03-24 22:33:10 | target: http://localhost:8088

2022-03-24 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-24 22:33:10 | entity: <data><node>node_4sgosd0202</node><expire-at>2022-03-25T05:33:05Z</expire-at><entry><content>content_bsjcn40204</content></entry></data>

2022-03-24 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ddfafff-539b-4ec3-92eb-888cae451476</value></item-id></result>

2022-03-24 22:33:10 | contains: true

2022-03-24 22:33:10 | [Mutex] waiting for: [user_regularwc0rxg0201@test-domain.com:message:received:content_bsjcn40204]

2022-03-24 22:33:25 | [Mutex] timeout. Not received [user_regularwc0rxg0201@test-domain.com:message:received:content_bsjcn40204]

2022-03-24 22:33:25 | [Mutex] isItemNotified: user_regularwc0rxg0201@test-domain.com:message:received:content_bsjcn40204 :: false

2022-03-24 22:33:25 |


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


2022-03-24 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 22:33:25 | command: <data><node>node_4sgosd0202</node><entry><content>content_jcjwbl0205</content></entry></data>

2022-03-24 22:33:25 | target: http://localhost:8088

2022-03-24 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-24 22:33:25 | entity: <data><node>node_4sgosd0202</node><entry><content>content_jcjwbl0205</content></entry></data>

2022-03-24 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ede4cc77-4d36-40f0-9574-13d5ea921ccd</value></item-id></result>

2022-03-24 22:33:25 | contains: true

2022-03-24 22:33:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-24 22:33:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222

2022-03-24 22:33:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-24 22:33:30 | [Mutex] waiting for: [user_regularwc0rxg0201@test-domain.com:message:received:content_jcjwbl0205]

2022-03-24 22:33:30 | [Mutex] received everything.

2022-03-24 22:33:30 | [Mutex] isItemNotified: user_regularwc0rxg0201@test-domain.com:message:received:content_jcjwbl0205 :: true

2022-03-24 22:33:30 |


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


2022-03-24 22:33:30 | [Mutex] received everything.

2022-03-24 22:33:30 | [Mutex] isItemNotified: node_4sgosd0202:subscribe_node:success :: true

2022-03-24 22:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-24 22:33:30 | command: <data><node>node_4sgosd0202</node><expire-at>2022-03-25T05:33:35Z</expire-at><entry><content>content_j38kbf0206</content></entry></data>

2022-03-24 22:33:30 | target: http://localhost:8088

2022-03-24 22:33:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-24 22:33:30 | entity: <data><node>node_4sgosd0202</node><expire-at>2022-03-25T05:33:35Z</expire-at><entry><content>content_j38kbf0206</content></entry></data>

2022-03-24 22:33:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:33:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-24 22:33:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c43459d5-4392-4bfd-8b54-54b6e6e46426</value></item-id></result>

2022-03-24 22:33:31 | contains: true

2022-03-24 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-24 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-03-24 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-24 22:33:39 | [Mutex] waiting for: [user_regularwc0rxg0201@test-domain.com:message:received:content_j38kbf0206]

2022-03-24 22:33:39 | [Mutex] waiting for: [user_regularwc0rxg0201@test-domain.com:message:received:content_j38kbf0206]

2022-03-24 22:33:39 | [Mutex] waiting for: [user_regularwc0rxg0201@test-domain.com:message:received:content_j38kbf0206]

2022-03-24 22:33:54 | [Mutex] timeout. Not received [user_regularwc0rxg0201@test-domain.com:message:received:content_j38kbf0206]

2022-03-24 22:33:54 | [Mutex] received everything.

2022-03-24 22:33:54 | [Mutex] isItemNotified: user_regularwc0rxg0201@test-domain.com:message:received:content_j38kbf0206 :: false

2022-03-24 22:33:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j38kbf0206 :: true