Generated by TestNG with ReportNG at 22:33 PDT on Thursday 24 March 2022
root@21fb2cc9076b / 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.107s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2022-03-24 22:46:30 |

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

2022-03-24 22:46:30 | ------------------------------------

2022-03-24 22:46:30 | [Mutex] isItemNotified: node_orf7jo0202:exists :: false

2022-03-24 22:46:30 | [Mutex] waiting for: [node_orf7jo0202:create_node]

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

2022-03-24 22:46:30 | [Mutex] isItemNotified: node_orf7jo0202:create_node:success :: true

2022-03-24 22:46:30 | [Mutex] waiting for: [node_orf7jo0202:subscribe_node]

2022-03-24 22:46:30 | [Mutex] waiting for: [node_orf7jo0202:subscribe_node]

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

2022-03-24 22:46:30 | [Mutex] isItemNotified: node_orf7jo0202:subscribe_node:success :: true

2022-03-24 22:46:30 |


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


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

2022-03-24 22:46:30 | command: <data><node>node_orf7jo0202</node><entry><content>content_jl2cvc0203</content></entry></data>

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

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

2022-03-24 22:46:30 | entity: <data><node>node_orf7jo0202</node><entry><content>content_jl2cvc0203</content></entry></data>

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

2022-03-24 22:46:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b6e911f-e54c-43eb-8438-417e9dec6509</value></item-id></result>

2022-03-24 22:46:30 | contains: true

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

2022-03-24 22:46:30 | [Mutex] isItemNotified: user_regulard7noji0201@test-domain.com:message:received:content_jl2cvc0203 :: true

2022-03-24 22:46:30 |


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


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

2022-03-24 22:46:30 | command: <data><node>node_orf7jo0202</node><expire-at>2022-03-25T05:46:25Z</expire-at><entry><content>content_jy79w40204</content></entry></data>

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

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

2022-03-24 22:46:30 | entity: <data><node>node_orf7jo0202</node><expire-at>2022-03-25T05:46:25Z</expire-at><entry><content>content_jy79w40204</content></entry></data>

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

2022-03-24 22:46:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac64fb1f-f3e8-4a9c-a24a-a436dfd27319</value></item-id></result>

2022-03-24 22:46:30 | contains: true

2022-03-24 22:46:30 | [Mutex] waiting for: [user_regulard7noji0201@test-domain.com:message:received:content_jy79w40204]

2022-03-24 22:46:45 | [Mutex] timeout. Not received [user_regulard7noji0201@test-domain.com:message:received:content_jy79w40204]

2022-03-24 22:46:45 | [Mutex] isItemNotified: user_regulard7noji0201@test-domain.com:message:received:content_jy79w40204 :: false

2022-03-24 22:46:45 |


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


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

2022-03-24 22:46:45 | command: <data><node>node_orf7jo0202</node><entry><content>content_uih1gl0205</content></entry></data>

2022-03-24 22:46:45 | target: http://localhost:8088

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

2022-03-24 22:46:45 | entity: <data><node>node_orf7jo0202</node><entry><content>content_uih1gl0205</content></entry></data>

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

2022-03-24 22:46:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47807cf6-d33a-4ada-9c3c-d058fbac22c5</value></item-id></result>

2022-03-24 22:46:45 | contains: true

2022-03-24 22:46:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-03-24 22:46:50 | [Mutex] waiting for: [user_regulard7noji0201@test-domain.com:message:received:content_uih1gl0205]

2022-03-24 22:46:50 | [Mutex] waiting for: [user_regulard7noji0201@test-domain.com:message:received:content_uih1gl0205]

2022-03-24 22:46:50 | [Mutex] received everything.

2022-03-24 22:46:50 | [Mutex] isItemNotified: user_regulard7noji0201@test-domain.com:message:received:content_uih1gl0205 :: true

2022-03-24 22:46:50 |


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


2022-03-24 22:46:50 | [Mutex] received everything.

2022-03-24 22:46:50 | [Mutex] isItemNotified: node_orf7jo0202:subscribe_node:success :: true

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

2022-03-24 22:46:50 | command: <data><node>node_orf7jo0202</node><expire-at>2022-03-25T05:46:55Z</expire-at><entry><content>content_y4lxai0206</content></entry></data>

2022-03-24 22:46:50 | target: http://localhost:8088

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

2022-03-24 22:46:50 | entity: <data><node>node_orf7jo0202</node><expire-at>2022-03-25T05:46:55Z</expire-at><entry><content>content_y4lxai0206</content></entry></data>

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

2022-03-24 22:46:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56bc238e-347e-4003-a7da-9a69bf52a0d4</value></item-id></result>

2022-03-24 22:46:50 | contains: true

2022-03-24 22:46:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-03-24 22:46:59 | [Mutex] waiting for: [user_regulard7noji0201@test-domain.com:message:received:content_y4lxai0206]

2022-03-24 22:47:14 | [Mutex] timeout. Not received [user_regulard7noji0201@test-domain.com:message:received:content_y4lxai0206]

2022-03-24 22:47:14 | [Mutex] received everything.

2022-03-24 22:47:14 | [Mutex] isItemNotified: user_regulard7noji0201@test-domain.com:message:received:content_y4lxai0206 :: false

2022-03-24 22:47:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y4lxai0206 :: true