Test duration: 45.142s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.600s |
2020-01-02 19:51:47 |
2020-01-02 19:51:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-01-02 19:51:47 | ------------------------------------ 2020-01-02 19:51:47 | [Mutex] isItemNotified: node_hwhdhm0184:exists :: false 2020-01-02 19:51:47 | [Mutex] waiting for: [node_hwhdhm0184:create_node] 2020-01-02 19:51:47 | [Mutex] received everything. 2020-01-02 19:51:47 | [Mutex] isItemNotified: node_hwhdhm0184:create_node:success :: true 2020-01-02 19:51:47 | [Mutex] waiting for: [node_hwhdhm0184:subscribe_node] 2020-01-02 19:51:47 | [Mutex] received everything. 2020-01-02 19:51:47 | [Mutex] isItemNotified: node_hwhdhm0184:subscribe_node:success :: true 2020-01-02 19:51:47 | ===== publishing normal message (to online) 2020-01-02 19:51:47 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-01-02 19:51:47 | command: <data><node>node_hwhdhm0184</node><entry><content>content_m3plb60185</content></entry></data> 2020-01-02 19:51:47 | target: http://localhost:8088 2020-01-02 19:51:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-01-02 19:51:47 | entity: <data><node>node_hwhdhm0184</node><entry><content>content_m3plb60185</content></entry></data> 2020-01-02 19:51:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jan 2020 03:51:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-01-02 19:51:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b98647c-0f4d-4a18-b325-2c06a32dc6ae</value></item-id></result> 2020-01-02 19:51:47 | contains: true 2020-01-02 19:51:47 | [Mutex] received everything. 2020-01-02 19:51:47 | [Mutex] isItemNotified: user_regularf3uwkx0183@localhost:message:received:content_m3plb60185 :: true 2020-01-02 19:51:47 | ===== publishing already old message - expecting message being filtered out (to online) 2020-01-02 19:51:47 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-01-02 19:51:47 | command: <data><node>node_hwhdhm0184</node><expire-at>2020-01-03T03:51:42Z</expire-at><entry><content>content_klvkym0186</content></entry></data> 2020-01-02 19:51:47 | target: http://localhost:8088 2020-01-02 19:51:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-01-02 19:51:47 | entity: <data><node>node_hwhdhm0184</node><expire-at>2020-01-03T03:51:42Z</expire-at><entry><content>content_klvkym0186</content></entry></data> 2020-01-02 19:51:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jan 2020 03:51:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-01-02 19:51:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22512ab1-9102-4286-a7bd-cb24b2a7f758</value></item-id></result> 2020-01-02 19:51:47 | contains: true 2020-01-02 19:51:47 | [Mutex] waiting for: [user_regularf3uwkx0183@localhost:message:received:content_klvkym0186] 2020-01-02 19:52:02 | [Mutex] timeout. Not received [user_regularf3uwkx0183@localhost:message:received:content_klvkym0186] 2020-01-02 19:52:02 | [Mutex] isItemNotified: user_regularf3uwkx0183@localhost:message:received:content_klvkym0186 :: false 2020-01-02 19:52:02 | ===== publishing normal message (to offline) 2020-01-02 19:52:02 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-01-02 19:52:02 | command: <data><node>node_hwhdhm0184</node><entry><content>content_tqkyrc0187</content></entry></data> 2020-01-02 19:52:02 | target: http://localhost:8088 2020-01-02 19:52:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-01-02 19:52:02 | entity: <data><node>node_hwhdhm0184</node><entry><content>content_tqkyrc0187</content></entry></data> 2020-01-02 19:52:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jan 2020 03:52:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-01-02 19:52:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ef244bf-c9be-4701-b3e8-c1c1e3ca7c89</value></item-id></result> 2020-01-02 19:52:02 | contains: true 2020-01-02 19:52:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-01-02 19:52:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] DNS entry stored in session object: localhost:5222 2020-01-02 19:52:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-01-02 19:52:07 | [Mutex] waiting for: [user_regularf3uwkx0183@localhost:message:received:content_tqkyrc0187] 2020-01-02 19:52:07 | [Mutex] received everything. 2020-01-02 19:52:07 | [Mutex] isItemNotified: user_regularf3uwkx0183@localhost:message:received:content_tqkyrc0187 :: true 2020-01-02 19:52:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-01-02 19:52:07 | [Mutex] received everything. 2020-01-02 19:52:07 | [Mutex] isItemNotified: node_hwhdhm0184:subscribe_node:success :: true 2020-01-02 19:52:07 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-01-02 19:52:07 | command: <data><node>node_hwhdhm0184</node><expire-at>2020-01-03T03:52:12Z</expire-at><entry><content>content_qdtxn90188</content></entry></data> 2020-01-02 19:52:07 | target: http://localhost:8088 2020-01-02 19:52:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-01-02 19:52:07 | entity: <data><node>node_hwhdhm0184</node><expire-at>2020-01-03T03:52:12Z</expire-at><entry><content>content_qdtxn90188</content></entry></data> 2020-01-02 19:52:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jan 2020 03:52:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-01-02 19:52:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>54661776-fc23-48ea-b1b0-fc58d3dc86bc</value></item-id></result> 2020-01-02 19:52:07 | contains: true 2020-01-02 19:52:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-01-02 19:52:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] DNS entry stored in session object: localhost:5222 2020-01-02 19:52:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-01-02 19:52:15 | [Mutex] waiting for: [user_regularf3uwkx0183@localhost:message:received:content_qdtxn90188] 2020-01-02 19:52:15 | [Mutex] waiting for: [user_regularf3uwkx0183@localhost:message:received:content_qdtxn90188] 2020-01-02 19:52:30 | [Mutex] timeout. Not received [user_regularf3uwkx0183@localhost:message:received:content_qdtxn90188] 2020-01-02 19:52:30 | [Mutex] received everything. 2020-01-02 19:52:30 | [Mutex] isItemNotified: user_regularf3uwkx0183@localhost:message:received:content_qdtxn90188 :: false 2020-01-02 19:52:30 | [Mutex] isItemNotified: admin@localhost:message:received:content_qdtxn90188 :: true |